gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/examples/gb/gb-dtmf/Makefile
1 # If you move this project you can change the directory
2 # to match your GBDK root directory (ex: GBDK_HOME = "C:/GBDK/"
3 ifndef GBDK_HOME
4 GBDK_HOME = ../../../
5 endif
6
7 LCC = $(GBDK_HOME)/bin/lcc -Wa-l -Wl-m
8
9 BINS = gb-dtmf.gb
10
11 all: $(BINS)
12
13 compile.bat: Makefile
14 @echo "REM Automatically generated from Makefile" > compile.bat
15 @make -sn | sed y/\\//\\\\/ | sed s/mkdir\ -p\/mkdir\/ | grep -v make >> compile.bat
16
17 %.s: %.c
18 $(LCC) $(LCCFLAGS) -S -o $@ $<
19
20 %.o: %.c
21 $(LCC) $(LCCFLAGS) -c -o $@ $<
22
23 %.o: %.s
24 $(LCC) $(LCCFLAGS) -c -o $@ $<
25
26 %.gb: %.o
27 $(LCC) $(LCCFLAGS) -o $@ $<
28
29 clean:
30 rm -f *.o *.lst *.map *.gb *.ihx *.sym *.cdb *.adb *.asm *.noi *.rst
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.