summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-12-26 22:35:36 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-12-26 22:35:36 -0500
commit5ad6e521535c7528fd83cfc95cf6d326754aafa8 (patch)
treeb3f679d96046ee56fa46d499aa9f851cb37c787a /Makefile
parentd5de7960a330953b3a7d7684122997c0d8aedcf1 (diff)
Fix Makefiles to allow CPP to work on piped input from preproc for data asm files.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a2059db74..e33d1a469 100644
--- a/Makefile
+++ b/Makefile
@@ -149,7 +149,7 @@ $(DATA_ASM_BUILDDIR)/%.o: data_dep = $(shell $(SCANINC) $(DATA_ASM_SUBDIR)/$*.s)
endif
$(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s $$(data_dep)
- $(PREPROC) $< charmap.txt | $(CPP) -I include | $(AS) $(ASFLAGS) -o $@
+ $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(AS) $(ASFLAGS) -o $@
$(SONG_BUILDDIR)/%.o: $(SONG_SUBDIR)/%.s
$(AS) $(ASFLAGS) -I sound -o $@ $<