Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/packages/cc/makefile @ 868:f3670cfbf025
Added more intelligence to making DSK image
author | boisy |
---|---|
date | Thu, 16 Jan 2003 20:15:53 +0000 |
parents | a592c9bb8785 |
children | 7ec334df8265 |
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 |
868 | 3 DISK = cc.dsk |
4 CMDS = cc1 c.prep c.pass1 c.pass2 c.opt c.asm c.link | |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
5 |
868 | 6 # Make all components |
7 all: $(CMDS) | |
8 @$(ECHO) "*********************************************" | |
9 @$(ECHO) "* *" | |
10 @$(ECHO) "* C Compiler *" | |
11 @$(ECHO) "* *" | |
12 @$(ECHO) "*********************************************" | |
13 -$(CD) SOURCES; $(UNIX2OS9) *.a *.c | |
14 -$(CD) DEFS; $(UNIX2OS9) *.h | |
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 | |
18 -$(CD) SOURCES; $(OS92UNIX) *.a *.c | |
19 -$(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
|
20 |
868 | 21 dsk: all |
22 $(RM) $(DISK) | |
23 $(OS9FORMAT) $(DISK) -t40 -h2 -n"C Compiler" | |
24 $(MAKDIR) $(DISK),CMDS | |
25 $(MAKDIR) $(DISK),LIB | |
26 $(MAKDIR) $(DISK),DEFS | |
27 $(MAKDIR) $(DISK),SOURCES | |
28 $(MAKDIR) $(DISK),SOURCES/SYS | |
29 $(CP) $(CMDS) $(DISK),CMDS | |
30 $(CP) DEFS/*.h $(DISK),DEFS | |
31 $(CP) LIB/*.l LIB/*.r $(DISK),LIB | |
32 $(CP) SOURCES/*.c $(DISK),SOURCES | |
33 $(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
|
34 |
868 | 35 dskclean: |
36 -$(RM) $(DISK) | |
389
a592c9bb8785
Here is the preprocessor of the Microware C-compiler v.1.1 for level1 systems
roug
parents:
diff
changeset
|
37 |