summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-11-22 20:59:37 +0800
committernullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-11-22 20:59:37 +0800
commit81f6704f3cb15c3f59fd3b48ec3622b63bc71297 (patch)
tree86c38e0b66c2a86a72269ebd74b466de0f6c47e9 /Makefile
parenta611b9673e73eeb74af802250d9fee5157f76a20 (diff)
Use preprocessor for data asms, clean up sound/ and dump some text
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 10c7dee..7e75101 100755
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,7 @@ $(C_OBJECTS): $(BUILD_DIR)/%.o: %.c $$(C_DEP)
$(AS) $(ASFLAGS) -o $@ $(BUILD_DIR)/$*.s
$(BUILD_DIR)/data/%.o: data/%.s $$(ASM_DEP)
- $(AS) $(ASFLAGS) $< -o $@
+ $(PREPROC) $< charmap.txt | $(CPP) -I include | $(AS) $(ASFLAGS) -o $@
$(BUILD_DIR)/%.o: %.s $$(ASM_DEP)
$(AS) $(ASFLAGS) $< -o $@ \ No newline at end of file