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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
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
7ec334df8265 Forgot to add chmod
boisy
parents: 868
diff changeset
3 DISK = cc.dsk
7ec334df8265 Forgot to add chmod
boisy
parents: 868
diff changeset
4 CMDS = cc1 c.prep c.pass1 c.pass2 c.opt c.asm c.link
7ec334df8265 Forgot to add chmod
boisy
parents: 868
diff changeset
5
7ec334df8265 Forgot to add chmod
boisy
parents: 868
diff changeset
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
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
8 # Make all components
870
7ec334df8265 Forgot to add chmod
boisy
parents: 868
diff changeset
9 all: $(ALLOBJS)
868
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
10 @$(ECHO) "*********************************************"
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
11 @$(ECHO) "* *"
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
12 @$(ECHO) "* C Compiler *"
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
13 @$(ECHO) "* *"
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
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
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
16 # Clean all components
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
17 clean: dskclean
870
7ec334df8265 Forgot to add chmod
boisy
parents: 868
diff changeset
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
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
20 dsk: all
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
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
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
23 $(MAKDIR) $(DISK),CMDS
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
24 $(MAKDIR) $(DISK),LIB
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
25 $(MAKDIR) $(DISK),DEFS
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
26 $(MAKDIR) $(DISK),SOURCES
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
27 $(MAKDIR) $(DISK),SOURCES/SYS
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
28 $(CP) $(CMDS) $(DISK),CMDS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1124
diff changeset
29 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);)
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
30 $(CPL) defs/*.h $(DISK),DEFS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
31 $(CP) lib/*.l LIB/*.r $(DISK),LIB
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
32 $(CPL) sources/*.c $(DISK),SOURCES
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
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
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
35 dskcopy: dsk
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
36 $(CP) $(DISK) $(DSKDIR)
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
37
868
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
38 dskclean:
1121
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
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