Makefile (422B)
1CC = ../../../bin/lcc -msm83:ap -Wm-yc -Wl-j -Wm-yS 2 3BINS = dscan.pocket 4 5all: $(BINS) 6 7compile.bat: Makefile 8 @echo "REM Automatically generated from Makefile" > compile.bat 9 @make -sn | sed y/\\//\\\\/ | grep -v make >> compile.bat 10 11%.o: %.c 12 $(CC) -c -o $@ $< 13 14%.s: %.c 15 $(CC) -S -o $@ $< 16 17%.o: %.s 18 $(CC) -c -o $@ $< 19 20%.pocket: %.o 21 $(CC) -o $@ $< 22 23clean: 24 rm -f *.o *.lst *.map *.pocket *.ihx *.sym *.cdb *.adb *.asm