summaryrefslogtreecommitdiff
path: root/Makefile
blob: d6d41227c48be20a2b6eac218e45e29ae33f4e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: vidctest

SRC=queue.c message_queue.c decoder_driver_test.c
OBJ=$(patsubst %.c,%.o,$(SRC))
CC = $(CROSS_COMPILE)gcc

vidctest: $(OBJ)
	$(CC) -pthread $^ -o $@

%.o: %.c
	$(CC) -c -o $@ $<

clean:
	-rm -f $(OBJ)
	-rm -f vidctest