Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/cc/makefile @ 2434:eab6b9e18832
update defs for RFM
author | aaronwolfe |
---|---|
date | Sun, 21 Feb 2010 06:24:47 +0000 |
parents | 918c7c68ea4d |
children | e4a0f58a5f9b 84d9d5765057 |
rev | line source |
---|---|
1363 | 1 include ../../../rules.mak |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
2 |
870 | 3 DISK = cc.dsk |
1780 | 4 CMDS = cc1 c.prep c.pass1 c.pass2 c.opt c.asm c.link make |
870 | 5 |
6 ALLOBJS = $(CMDS) | |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
7 |
868 | 8 # Make all components |
1407 | 9 all: banner $(ALLOBJS) |
10 | |
11 banner: | |
1380 | 12 @$(ECHO) "**************************************************" |
13 @$(ECHO) "* *" | |
14 @$(ECHO) "* C Compiler *" | |
15 @$(ECHO) "* *" | |
16 @$(ECHO) "**************************************************" | |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
17 |
868 | 18 # Clean all components |
19 clean: dskclean | |
870 | 20 $(RM) $(ALLOBJS) |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
21 |
868 | 22 dsk: all |
23 $(RM) $(DISK) | |
2229 | 24 $(OS9FORMAT_DS40) -q $(DISK) -n"C Compiler" |
868 | 25 $(MAKDIR) $(DISK),CMDS |
26 $(MAKDIR) $(DISK),LIB | |
27 $(MAKDIR) $(DISK),DEFS | |
28 $(MAKDIR) $(DISK),SOURCES | |
29 $(MAKDIR) $(DISK),SOURCES/SYS | |
30 $(CP) $(CMDS) $(DISK),CMDS | |
1126 | 31 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) |
1363 | 32 $(CPL) defs/*.h $(DISK),DEFS |
33 $(CP) lib/*.l LIB/*.r $(DISK),LIB | |
34 $(CPL) sources/*.c $(DISK),SOURCES | |
35 $(CPL) sources/*.a $(DISK),SOURCES/SYS | |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
36 |
1121 | 37 dskcopy: dsk |
38 $(CP) $(DISK) $(DSKDIR) | |
39 | |
868 | 40 dskclean: |
1121 | 41 $(RM) $(DISK) |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
42 |
2216 | 43 info: |
44 @$(ECHO) "*** Microware C Compiler ***" | |
45 @$(ECHO) $(DISK) |