Mercurial > hg > Members > kono > nitros9-code
annotate level3/coco3_6309/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 | 87b07a1be8a0 |
children | 28ed72477814 |
rev | line source |
---|---|
2351 | 1 PORT = coco3 |
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:
2351
diff
changeset
|
6 DEFOPTS = --preprocess -DLevel=3 |
2351 | 7 PERMDEFS = Defsfile |
8 DEFS = OS9Defs RBFDefs SCFDefs SysType VTIODefs | |
9 ALLOBJS = $(DEFS) $(PERMDEFS) | |
10 | |
11 all: $(ALLOBJS) | |
12 | |
13 OS9Defs: $(DEFSDIR)/os9defs | |
2684
2a37d4530972
Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents:
2351
diff
changeset
|
14 $(AS) $(AFLAGS) $(DEFOPTS) -DOS9DEFS=0 $< > $@ |
2351 | 15 |
16 RBFDefs: $(DEFSDIR)/rbfdefs | |
2684
2a37d4530972
Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents:
2351
diff
changeset
|
17 $(AS) $(AFLAGS) $(DEFOPTS) -DRBFDEFS=0 $< > $@ |
2351 | 18 |
19 SCFDefs: $(DEFSDIR)/scfdefs | |
2684
2a37d4530972
Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents:
2351
diff
changeset
|
20 $(AS) $(AFLAGS) $(DEFOPTS) -DSCFDEFS=0 $< > $@ |
2351 | 21 |
22 SysType: $(DEFSDIR)/systype | |
2684
2a37d4530972
Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents:
2351
diff
changeset
|
23 $(AS) $(AFLAGS) $(DEFOPTS) -DSYSTYPE=0 $< > $@ |
2351 | 24 |
25 VTIODefs: $(DEFSDIR)/vtiodefs_cc3 | |
2684
2a37d4530972
Even more command line fixups for lwasm
William Astle <lost@l-w.ca>
parents:
2351
diff
changeset
|
26 $(AS) $(AFLAGS) $(DEFOPTS) -DVTIODEFS=0 $< > $@ |
2351 | 27 |
28 clean: | |
29 $(RM) $(DEFS) | |
30 | |
31 showobjs: | |
32 @$(ECHO) $(ALLOBJS) |