aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a8e9e82..3eb0fcf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,17 @@
-all: Vidctest
-Vidctest: queue.o message_queue.o decoder_driver_test.o
- arm-linux-gnueabihf-gcc -pthread queue.o message_queue.o decoder_driver_test.o -o Vidctest
+all: vidctest
+
+vidctest: queue.o message_queue.o decoder_driver_test.o
+ arm-linux-gnueabihf-gcc -pthread queue.o message_queue.o decoder_driver_test.o -o vidctest
+
queue.o:
arm-linux-gnueabihf-gcc -c queue.c
+
message_queue.o:
arm-linux-gnueabihf-gcc -c message_queue.c
+
decoder_driver_test.o:
arm-linux-gnueabihf-gcc -c decoder_driver_test.c
clean:
-rm -f *.o
- -rm -f Vidctest
+ -rm -f vidctest