]> git.zerfleddert.de Git - rsbs2/blobdiff - Makefile
decrease poweron and reset-time to the same value as rsbs2 fw
[rsbs2] / Makefile
index 25c0efef427870566f88f05446b75daaf85ffc1d..48f22a45b8d2d1d66a8c72b1ab58f3ac5efcbf40 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,13 @@
-CFLAGS=-Wall -O3
+all: firmware
 
 
-all: firmware 
+firmware: src/firmware
+       ln -sf $^ $@
 
 
-firmware: firmware.o rsb-crc.o rsb-lz.o extract.o
-
-firmware.o: firmware.c rsb-crc.h extract.h
-
-rsb-crc.o: rsb-crc.c rsb-crc.h
-
-rsb-lz.o: rsb-lz.c rsb-lz.h
-
-extract.o: extract.c extract.h rsb-lz.h
+src/firmware:
+       $(MAKE) -C src firmware
 
 clean:
 
 clean:
-       rm -f firmware firmware.o rsb-crc.o rsb-lz.o extract.o
+       rm -f firmware
+       $(MAKE) -C src clean
 
 
-.PHONY: all clean
+.PHONY: all clean src/firmware
Impressum, Datenschutz