]> git.zerfleddert.de Git - rsbs2/blobdiff - Makefile
don't enable (not working) COM redirection
[rsbs2] / Makefile
index 6122eeaa93aa867cbc3fecec714a9c9e44cd33b0..48f22a45b8d2d1d66a8c72b1ab58f3ac5efcbf40 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,13 @@
-CFLAGS=-Wall
+all: firmware
 
-all: firmware 
+firmware: src/firmware
+       ln -sf $^ $@
 
-firmware: firmware.o rsb-crc.o
-
-firmware.o: firmware.c rsb-crc.h
-
-rsb-crc.o: rsb-crc.c rsb-crc.h
+src/firmware:
+       $(MAKE) -C src firmware
 
 clean:
-       rm -f firmware firmware.o rsb-crc.o
+       rm -f firmware
+       $(MAKE) -C src clean
 
-.PHONY: all clean
+.PHONY: all clean src/firmware
Impressum, Datenschutz