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
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
1780
fb287e5e27c1 Added make
boisy
parents: 1407
diff changeset
4 CMDS = cc1 c.prep c.pass1 c.pass2 c.opt c.asm c.link make
870
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
1407
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1380
diff changeset
9 all: banner $(ALLOBJS)
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1380
diff changeset
10
174d263c0995 Fixed certain inconsistencies in makefiles
boisy
parents: 1380
diff changeset
11 banner:
1380
4e9bb773d575 Changes
boisy
parents: 1363
diff changeset
12 @$(ECHO) "**************************************************"
4e9bb773d575 Changes
boisy
parents: 1363
diff changeset
13 @$(ECHO) "* *"
4e9bb773d575 Changes
boisy
parents: 1363
diff changeset
14 @$(ECHO) "* C Compiler *"
4e9bb773d575 Changes
boisy
parents: 1363
diff changeset
15 @$(ECHO) "* *"
4e9bb773d575 Changes
boisy
parents: 1363
diff changeset
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
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
18 # Clean all components
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
19 clean: dskclean
870
7ec334df8265 Forgot to add chmod
boisy
parents: 868
diff changeset
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
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
22 dsk: all
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
23 $(RM) $(DISK)
2229
918c7c68ea4d Made formats quiet
boisy
parents: 2216
diff changeset
24 $(OS9FORMAT_DS40) -q $(DISK) -n"C Compiler"
868
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
25 $(MAKDIR) $(DISK),CMDS
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
26 $(MAKDIR) $(DISK),LIB
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
27 $(MAKDIR) $(DISK),DEFS
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
28 $(MAKDIR) $(DISK),SOURCES
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
29 $(MAKDIR) $(DISK),SOURCES/SYS
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
30 $(CP) $(CMDS) $(DISK),CMDS
1126
85eed1cde1b7 attr used throughout the makefiles now
boisy
parents: 1124
diff changeset
31 $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $(DISK),CMDS/$(file);)
1363
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
32 $(CPL) defs/*.h $(DISK),DEFS
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
33 $(CP) lib/*.l LIB/*.r $(DISK),LIB
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
34 $(CPL) sources/*.c $(DISK),SOURCES
53c50c807d55 Major move to new NitrOS-9 project
boisy
parents: 1129
diff changeset
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
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
37 dskcopy: dsk
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
38 $(CP) $(DISK) $(DSKDIR)
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
39
868
f3670cfbf025 Added more intelligence to making DSK image
boisy
parents: 389
diff changeset
40 dskclean:
1121
6a058c03adb1 More Makefile changes
boisy
parents: 960
diff changeset
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
d096a278e068 Added info targets
boisy
parents: 1780
diff changeset
43 info:
d096a278e068 Added info targets
boisy
parents: 1780
diff changeset
44 @$(ECHO) "*** Microware C Compiler ***"
d096a278e068 Added info targets
boisy
parents: 1780
diff changeset
45 @$(ECHO) $(DISK)