Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/cc/makefile @ 870:7ec334df8265
Forgot to add chmod
author | boisy |
---|---|
date | Thu, 16 Jan 2003 20:32:24 +0000 |
parents | f3670cfbf025 |
children | 27d3f3045208 |
rev | line source |
---|---|
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
1 include ../../../Makefile.rules |
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) "*********************************************" | |
15 -$(CD) SOURCES; $(UNIX2OS9) *.a *.c | |
16 -$(CD) DEFS; $(UNIX2OS9) *.h | |
870 | 17 $(CHMOD) 755 $(CMDS) |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
18 |
868 | 19 # Clean all components |
20 clean: dskclean | |
870 | 21 $(RM) $(ALLOBJS) |
868 | 22 -$(CD) SOURCES; $(OS92UNIX) *.a *.c |
23 -$(CD) DEFS; $(OS92UNIX) *.h | |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
24 |
868 | 25 dsk: all |
26 $(RM) $(DISK) | |
27 $(OS9FORMAT) $(DISK) -t40 -h2 -n"C Compiler" | |
28 $(MAKDIR) $(DISK),CMDS | |
29 $(MAKDIR) $(DISK),LIB | |
30 $(MAKDIR) $(DISK),DEFS | |
31 $(MAKDIR) $(DISK),SOURCES | |
32 $(MAKDIR) $(DISK),SOURCES/SYS | |
33 $(CP) $(CMDS) $(DISK),CMDS | |
34 $(CP) DEFS/*.h $(DISK),DEFS | |
35 $(CP) LIB/*.l LIB/*.r $(DISK),LIB | |
36 $(CP) SOURCES/*.c $(DISK),SOURCES | |
37 $(CP) 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
|
38 |
868 | 39 dskclean: |
40 -$(RM) $(DISK) | |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
41 |