gbdk_playground/hello_world/Makefile

17 lines
193 B
Makefile
Raw Normal View History

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