mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
26 lines
828 B
Diff
26 lines
828 B
Diff
diff --git a/Makefile b/Makefile
|
|
index 22c65e9..e7c888d 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -51,7 +51,7 @@ ASMFILES := $(foreach dir,$(SOURCE_ALL_DIRS),$(wildcard $(dir)/*.asm))
|
|
|
|
# List of include directories: All source and data folders.
|
|
# A '/' is appended to the path.
|
|
-INCLUDES := $(foreach dir,$(SOURCE_ALL_DIRS),-i$(dir)/)
|
|
+INCLUDES := $(foreach dir,$(SOURCE_ALL_DIRS),-I$(dir)/)
|
|
|
|
# Prepare object paths from source files.
|
|
OBJ := $(ASMFILES:.asm=.obj)
|
|
@@ -72,10 +72,9 @@ clean:
|
|
@echo rm $(OBJ) $(BIN) $(COMPAT_BIN) $(NAME).sym $(NAME).map
|
|
@rm -f $(OBJ) $(BIN) $(COMPAT_BIN) $(NAME).sym $(NAME).map
|
|
|
|
-# TODO: Remove the -h when RGBASM is updated to remove it
|
|
%.obj : %.asm
|
|
@echo rgbasm $<
|
|
- @$(RGBASM) $(INCLUDES) -h -E -o$@ $<
|
|
+ @$(RGBASM) $(INCLUDES) -E -o$@ $<
|
|
|
|
$(BIN): $(OBJ)
|
|
@echo rgblink $(BIN)
|