Mercurial > hg > Members > kono > nitros9-code
annotate level1/tano/defs/makefile @ 2684:2a37d4530972 lwtools-port
Even more command line fixups for lwasm
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 10 Jun 2012 18:38:22 -0600 |
parents | b8c7b7fbf3c9 |
children | 2bf46e4a7c27 |
rev | line source |
---|---|
2624 | 1 PORT = d64 |
2036 | 2 include $(NITROS9DIR)/rules.mak |
3 | |
4 DEPENDS = ./makefile | |
5 | |
2684
2a37d4530972
Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents:
2624
diff
changeset
|
6 DEFOPTS = --preprocess -DLevel=1 |
2036 | 7 DEFSDIR = ../../../defs |
2624 | 8 DEFS = defsfile os9.d rbf.d scf.d dragon.d dragonvtio.d |
2036 | 9 ALLOBJS = $(DEFS) |
10 | |
11 all: $(ALLOBJS) | |
12 | |
2624 | 13 defsfile: defsfile.asm |
14 $(AS) $(DEFOPTS) -p $< > $@ | |
2036 | 15 |
2624 | 16 os9.d: $(DEFSDIR)/os9.d |
17 $(AS) $(DEFOPTS) -aOS9.D=0 $< > $@ | |
2036 | 18 |
2624 | 19 rbf.d: $(DEFSDIR)/rbf.d |
20 $(AS) $(DEFOPTS) -aRBF.D=0 $< > $@ | |
2036 | 21 |
2624 | 22 scf.d: $(DEFSDIR)/scf.d |
23 $(AS) $(DEFOPTS) -aSCF.D=0 $< > $@ | |
2036 | 24 |
2624 | 25 dragon.d: $(DEFSDIR)/dragon.d |
26 $(AS) $(DEFOPTS) -aDRAGON.D=0 $< > $@ | |
2036 | 27 |
2624 | 28 dragonvtio.d: $(DEFSDIR)/cocovtio.d |
29 $(AS) $(DEFOPTS) -aDRAGONVTIO.D=0 $< > $@ | |
2036 | 30 |
31 clean: | |
32 $(RM) $(DEFS) | |
33 | |
34 showobjs: | |
35 @$(ECHO) $(ALLOBJS) |