X-Git-Url: http://git.kpe.io/?p=avr_serial_lcd.git;a=blobdiff_plain;f=Makefile;h=4a6b1d30d2e7e9e6bd703e8a545cbffe9568d147;hp=688d777152fb66c000d46380bbdaa0ec2a604d35;hb=HEAD;hpb=debfa9107d3c94c1534808fe9ca260b8f4521e30 diff --git a/Makefile b/Makefile index 688d777..4a6b1d3 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ date := $(shell date +"%Y%m%d") .PHONY: all all: build +PROJECT := serial_lcd tester := tester/serial_lcd_tester tester-build: $(tester).exe @@ -20,18 +21,7 @@ build: tester-build $(MAKE) -C iar_cpp $(MAKE) -C iar_cpp_obj $(MAKE) -C icc_c - -dist: tester-build build - @chmod -x *.c *.h *.cpp README ChangeLog LICENSE - @find $(GCCDIR) -type f -exec chmod -x {} \; - @find $(IARDIR) -type f -exec chmod -x {} \; - @find $(ICCDIR) -type f -exec chmod -x {} \; - @zip serial_lcd-$(date).zip README serial_lcd.c serial_lcd.cpp serial_lcd_obj.cpp serial_lcd.h LICENSE ChangeLog \ - $(GCCDIR)/Makefile $(GCCDIR)/serial_lcd.map $(GCCDIR)/serial_lcd_cpp.map $(GCCDIR)/serial_lcd.lss \ - $(GCCDIR)/serial_lcd_cpp.lss $(GCCDIR)/serial_lcd.hex $(GCCDIR)/serial_lcd_cpp.hex \ - $(GCCDIR)/serial_lcd_obj.lss $(GCCDIR)/serial_lcd_obj.map $(GCCDIR)/serial_lcd_obj.map \ - $(IARDIR)/*.lst $(IARDIR)/*.map $(IARDIR)/*.hex $(ICCDIR)/*.mp $(ICCDIR)/*.lst $(ICCDIR)/*.hex \ - $(tester).c $(tester).exe + $(MAKE) -C cv_c .PHONY: clean clean: @@ -45,6 +35,8 @@ clean: $(MAKE) -C iar_cpp_obj clean $(MAKE) -C iar_cpp_obj clean $(MAKE) -C icc_c clean + $(MAKE) -C cv_c clean + @rm -f *~ .PHONY: distclean distclean: @@ -58,3 +50,4 @@ distclean: $(MAKE) -C iar_cpp_obj distclean $(MAKE) -C iar_cpp_obj distclean $(MAKE) -C icc_c distclean + $(MAKE) -C cv_c distclean