X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/650ebf3b096355d69644d60d9d8da84d947dd3a4..0ed4de5ebd3591b7a8fa527a0c41a2d1a349fef3:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 6fbd0b7..48f22a4 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,13 @@ -CFLAGS=-Wall -O3 +all: firmware -all: firmware +firmware: src/firmware + ln -sf $^ $@ -firmware: firmware.o rsb-crc.o rsb-lz.o - -firmware.o: firmware.c rsb-crc.h rsb-lz.h - -rsb-crc.o: rsb-crc.c rsb-crc.h - -rsb-lz.o: rsb-lz.c rsb-lz.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