Better dependency handling for wild_encounters

This commit is contained in:
PikalaxALT
2019-04-30 15:28:31 -04:00
committed by huderlem
parent 0babaa8c07
commit 657068359d
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ ifeq ($(DINFO),1)
override CFLAGS += -g
endif
$(C_BUILDDIR)/%.o : $(C_SUBDIR)/%.c $$(c_dep) $(AUTO_GEN_TARGETS)
$(C_BUILDDIR)/%.o : $(C_SUBDIR)/%.c $$(c_dep)
@$(CPP) $(CPPFLAGS) $< -o $(C_BUILDDIR)/$*.i
@$(PREPROC) $(C_BUILDDIR)/$*.i charmap.txt | $(CC1) $(CFLAGS) -o $(C_BUILDDIR)/$*.s
@echo -e ".text\n\t.align\t2, 0\n" >> $(C_BUILDDIR)/$*.s