gbdk_playground/beep/Makefile

17 lines
179 B
Makefile
Raw Permalink Normal View History

2020-07-11 13:41:14 +00:00
AS = lcc -c
CC = lcc -Wa-l -Wl-m
BIN = beep.gb
OBJS = main.o
all: $(BIN)
%.s: %.ms
maccer -o $@ $<
$(BIN): $(OBJS)
$(CC) -o $(BIN) $(OBJS)
clean:
rm -rf $(BIN) $(OBJS) *~