gbdk/gbdk-lib/examples/gb/gb-dtmf/Makefile
2015-01-10 16:25:07 +01:00

21 lines
236 B
Makefile
Executable file

CC = ../../../bin/lcc -Wa-l -Wl-m -DGBDK_2_COMPAT=1
BINS = gb-dtmf.gb
all: $(BINS)
%.s: %.c
$(CC) -S -o $@ $<
%.o: %.c
$(CC) -c -o $@ $<
%.o: %.s
$(CC) -c -o $@ $<
%.gb: %.o
$(CC) -o $@ $<
clean:
rm -f *.o *.lst *.map *.gb