gbdk_playground/z_gbdk_playground_original/save_ram/Makefile
2020-07-11 08:41:14 -05:00

16 lines
210 B
Makefile

AS = lcc -c
CC = lcc -Wa-l -Wl-m -Wl-yt3 -Wl-yo4 -Wl-ya4
BIN = save_ram.gb
OBJS = save_ram.o
all: $(BIN)
%.s: %.ms
maccer -o $@ $<
$(BIN): $(OBJS)
$(CC) -o $(BIN) $(OBJS)
clean:
rm -rf $(BIN) $(OBJS) *~