mirror of https://github.com/zeldaret/mm.git
Fixes -include in makefile. (#74)
This commit is contained in:
parent
8342329538
commit
22cb3c4b27
3
Makefile
3
Makefile
|
@ -173,7 +173,6 @@ asm/%.asm: disasm ;
|
||||||
|
|
||||||
disasm: tables/files.txt tables/functions.txt tables/objects.txt tables/variables.txt tables/vrom_variables.txt tables/pre_boot_variables.txt
|
disasm: tables/files.txt tables/functions.txt tables/objects.txt tables/variables.txt tables/vrom_variables.txt tables/pre_boot_variables.txt
|
||||||
./tools/disasm.py -d ./asm -u . -l ./tables/files.txt -f ./tables/functions.txt -o ./tables/objects.txt -v ./tables/variables.txt -v ./tables/vrom_variables.txt -v ./tables/pre_boot_variables.txt
|
./tools/disasm.py -d ./asm -u . -l ./tables/files.txt -f ./tables/functions.txt -o ./tables/objects.txt -v ./tables/variables.txt -v ./tables/vrom_variables.txt -v ./tables/pre_boot_variables.txt
|
||||||
@echo "done with disasm"
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(ROM) $(UNCOMPRESSED_ROM) -r build asm
|
rm -f $(ROM) $(UNCOMPRESSED_ROM) -r build asm
|
||||||
|
@ -237,5 +236,5 @@ build/src/%.d: src/%.c
|
||||||
@$(GCC) $< -Iinclude -MM -MT 'build/src/$*.o' >> $@
|
@$(GCC) $< -Iinclude -MM -MT 'build/src/$*.o' >> $@
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS), clean)
|
ifneq ($(MAKECMDGOALS), clean)
|
||||||
include $(C_FILES:src/%.c=build/src/%.d)
|
-include $(C_FILES:src/%.c=build/src/%.d)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue