mirror of
https://github.com/breadbored/Pokemon-Distribution-ROM.git
synced 2026-03-21 17:54:23 -05:00
19 lines
453 B
Makefile
19 lines
453 B
Makefile
# CC = /opt/gbdk/bin/lcc -Wa-l -Wl-m -Wl-j
|
|
CC = ~/gbdk-2020/build/gbdk/bin/lcc -Wa-l -Wl-m -Wl-j
|
|
|
|
BINS = comm.gb
|
|
|
|
all: $(BINS)
|
|
|
|
compile.bat: Makefile
|
|
@echo "REM Automatically generated from Makefile" > compile.bat
|
|
@make -sn | sed y/\\//\\\\/ | sed s/mkdir\ -p\/mkdir\/ | grep -v make >> compile.bat
|
|
|
|
# Compile and link single file in one pass
|
|
%.gb: %.c
|
|
$(CC) -o $@ $<
|
|
|
|
clean:
|
|
rm -f *.o *.lst *.map *.gb *~ *.rel *.cdb *.ihx *.lnk *.sym *.asm *.noi
|
|
|