Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/cc/makefile @ 1363:53c50c807d55
Major move to new NitrOS-9 project
author | boisy |
---|---|
date | Fri, 26 Sep 2003 12:26:10 +0000 |
parents | c847e6ee341d |
children | 4e9bb773d575 |
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 |
4 CMDS = cc1 c.prep c.pass1 c.pass2 c.opt c.asm c.link | |
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 |
870 | 9 all: $(ALLOBJS) |
868 | 10 @$(ECHO) "*********************************************" |
11 @$(ECHO) "* *" | |
12 @$(ECHO) "* C Compiler *" | |
13 @$(ECHO) "* *" | |
14 @$(ECHO) "*********************************************" | |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
15 |
868 | 16 # Clean all components |
17 clean: dskclean | |
870 | 18 $(RM) $(ALLOBJS) |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
19 |
868 | 20 dsk: all |
21 $(RM) $(DISK) | |
960
ea69ed12af12
Added OS9FORMAT macros which inherently specify the disk format, so that
boisy
parents:
896
diff
changeset
|
22 $(OS9FORMAT_DS40) $(DISK) -n"C Compiler" |
868 | 23 $(MAKDIR) $(DISK),CMDS |
24 $(MAKDIR) $(DISK),LIB | |
25 $(MAKDIR) $(DISK),DEFS | |
26 $(MAKDIR) $(DISK),SOURCES | |
27 $(MAKDIR) $(DISK),SOURCES/SYS | |
28 $(CP) $(CMDS) $(DISK),CMDS | |
1126 | 29 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);) |
1363 | 30 $(CPL) defs/*.h $(DISK),DEFS |
31 $(CP) lib/*.l LIB/*.r $(DISK),LIB | |
32 $(CPL) sources/*.c $(DISK),SOURCES | |
33 $(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
|
34 |
1121 | 35 dskcopy: dsk |
36 $(CP) $(DISK) $(DSKDIR) | |
37 | |
868 | 38 dskclean: |
1121 | 39 $(RM) $(DISK) |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
40 |