Followed the discussions in the Pull request #682.

* Fixed a misspelling
* Fixed styles
* Added sample codes
This commit is contained in:
AIDA Shinra
2018-06-12 02:06:01 +09:00
parent 335a8972b9
commit 8899d71cad
14 changed files with 195 additions and 13 deletions

View File

@@ -0,0 +1,28 @@
# Sample makefile using a preprocessor against info files
# and the --sync-lines option
CPP = env LANG=C cpp
CPPFLAGS = # -DTEST_ERROR
ASMS = fixed.s bank0.s bank1.s
DAIS = fixed.dai bank0.dai bank1.dai
.SUFFIXES: .da .dai .s
.PHONY: all clean maintainer-clean
.SECONDARY: $(DAIS)
.da.dai:
$(CPP) -o $@ $(CPPFLAGS) $<
.dai.s:
da65 --sync-lines -o $@ -i $< image.bin
all: $(ASMS)
clean:
rm -f $(ASMS)
maintainer-clean: clean
rm -f $(DAIS)
$(DAIS): fixed.da