summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax <mparisi@stevens.edu>2020-09-23 15:16:07 -0400
committerMax <mparisi@stevens.edu>2020-09-23 15:16:07 -0400
commit96d9708dcf20c7537773bbc67f171b68b00e36d3 (patch)
treea2868f8f991fde1738ba7f64d907b221d6d5460f /Makefile
parent4e91f4772fb5e5d9ea80694e5aa7c27be4315a00 (diff)
split ut_list, ut_LinkList, and ut_BinaryFileFormat
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index d7073cc..12b2261 100644
--- a/Makefile
+++ b/Makefile
@@ -28,8 +28,8 @@ TARGET := pbr_pal
BUILD_DIR := build/$(TARGET)
-SRC_DIRS := src src/SDK/OS src/libstdc++ src/MetroTRK src/GameSpy
-ASM_DIRS := asm asm/SDK/OS asm/libstdc++ asm/MetroTRK asm/GameSpy
+SRC_DIRS := src src/SDK/OS src/libstdc++ src/MetroTRK src/GameSpy src/NW4R
+ASM_DIRS := asm asm/SDK/OS asm/libstdc++ asm/MetroTRK asm/GameSpy asm/NW4R
# Inputs
S_FILES := $(wildcard asm/*.s)
@@ -133,8 +133,8 @@ $(ELF): $(O_FILES) $(LDSCRIPT)
$(OBJCOPY) $@ $@
$(BUILD_DIR)/%.o: %.s
$(AS) $(ASFLAGS) -o $@ $<
- # resolve escape sequences for C++ mangled names in the .strtab section (assembler workaround).
- $(PATCHSTRTAB) $<
+# resolve escape sequences for C++ mangled names in the .strtab section (assembler workaround).
+ $(PATCHSTRTAB) $@
$(BUILD_DIR)/%.o: %.cpp
$(CC) $(CFLAGS) -lang c++ -c -o $@ $<