Initial Commit
This commit is contained in:
16
hello_world/Makefile
Normal file
16
hello_world/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
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) *~
|
Reference in New Issue
Block a user