gbdk_playground/z_gbdk_playground_original/detect_gb/Makefile

16 lines
188 B
Makefile

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