annotate Makefile @ 43:69cbf9ce72b5

bring back testsd
author Matt Johnston <matt@ucc.asn.au>
date Sat, 29 Jun 2013 10:42:34 +0800
parents d07aa7644c66
children a0f2fcc6d9dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 # Name: Makefile
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 # Author: <insert your name here>
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 # Copyright: <insert your copyright message here>
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4 # License: <insert your license reference here>
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
6 # This is a prototype Makefile. Modify it according to your needs.
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
7 # You should at least check the settings for
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
8 # DEVICE ....... The AVR device you compile for
20
bc48a1d17edf near done
Matt Johnston <matt@ucc.asn.au>
parents: 18
diff changeset
9 # CLOCK ........ Target AVR CLOCK rate in Hertz
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
10 # OBJECTS ...... The object files created from your source files. This list is
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
11 # usually the same as the list of source files with suffix ".o".
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
12 # PROGRAMMER ... Options to avrdude which define the hardware you use for
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
13 # uploading to the AVR and the interface where this hardware
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
14 # is connected. We recommend that you leave it undefined and
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
15 # add settings like this to your ~/.avrduderc file:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
16 # default_programmer = "stk500v2"
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
17 # default_serial = "avrdoper"
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
18 # FUSES ........ Parameters for avrdude to flash the fuses appropriately.
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
19
19
5f9a40d6991b Import SD handling from http://www.roland-riegel.de/sd-reader/index.html
Matt Johnston <matt@ucc.asn.au>
parents: 18
diff changeset
20 DEVICE = atmega328p
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
21 PROGDEVICE = atmega328p
30
Matt Johnston <matt@ucc.asn.au>
parents: 29 27
diff changeset
22 CLOCK = 11059200L
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
23 PROGRAMMER = #-c stk500v2 -P avrdoper
35
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
24 PROGRAMMER = -c arduino -b 115200 -P /dev/ttyAMA0 -p $(PROGDEVICE) -B 2
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
25 SOURCE_1WIRE = onewire.c simple_ds18b20.c crc8.c
5
87c8d0a11906 make it work
Matt Johnston <matt@ucc.asn.au>
parents: 2
diff changeset
26 SOURCE_CRYPTO = hmac-sha1.c sha1-asm.S aes.c
32
bd9ce7e581ec Fix bad merge
Matt Johnston <matt@ucc.asn.au>
parents: 30
diff changeset
27 SOURCE_SD = byteordering.c fat.c partition.c sd_raw.c
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
28 SOURCE = main.c
19
5f9a40d6991b Import SD handling from http://www.roland-riegel.de/sd-reader/index.html
Matt Johnston <matt@ucc.asn.au>
parents: 18
diff changeset
29 SOURCE += $(SOURCE_CRYPTO) $(SOURCE_SD)
5f9a40d6991b Import SD handling from http://www.roland-riegel.de/sd-reader/index.html
Matt Johnston <matt@ucc.asn.au>
parents: 18
diff changeset
30 LIBS =
33
a3de303afabf Add compiled bootloader
Matt Johnston <matt@ucc.asn.au>
parents: 32
diff changeset
31 BOOTLOADER_HEX = ATmegaBOOT_168_pihelp.hex
19
5f9a40d6991b Import SD handling from http://www.roland-riegel.de/sd-reader/index.html
Matt Johnston <matt@ucc.asn.au>
parents: 18
diff changeset
32
5f9a40d6991b Import SD handling from http://www.roland-riegel.de/sd-reader/index.html
Matt Johnston <matt@ucc.asn.au>
parents: 18
diff changeset
33 OBJECTS := $(patsubst %.c,%.o,$(patsubst %.S,%.o,$(SOURCE)))
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
34
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
35 # default but 2mhz
18
021e6e0006f4 debug printing, 5v adc, fixes
Matt Johnston <matt@ucc.asn.au>
parents: 17
diff changeset
36 FUSES = -U hfuse:w:0xd9:m -U lfuse:w:0x77:m -U efuse:w:0xfd:m
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
37
22
a55d7c2440fd basically done
Matt Johnston <matt@ucc.asn.au>
parents: 20
diff changeset
38 #LOCKBIT
35
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
39 # prevent bootloader write protect:
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
40 # -U lock:w:0x2f:m
41
d07aa7644c66 bit more fiddling
Matt Johnston <matt@ucc.asn.au>
parents: 35
diff changeset
41 # X unused bit7
d07aa7644c66 bit more fiddling
Matt Johnston <matt@ucc.asn.au>
parents: 35
diff changeset
42 # X unused
22
a55d7c2440fd basically done
Matt Johnston <matt@ucc.asn.au>
parents: 20
diff changeset
43 # 1 blb12 no writing to bootloader
a55d7c2440fd basically done
Matt Johnston <matt@ucc.asn.au>
parents: 20
diff changeset
44 # 0 blb11
35
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
45 # 1 blb02 bootloader can write to app
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
46 # 1 blb01
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
47 # 1 lb2 external serial prog unrestricted
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
48 # 1 lb1 bit0
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
49
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
50 # stop everything:
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
51 # -U lock:w:0x20:m
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
52 # 0 unused bit7
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
53 # 0 unused
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
54 # 1 blb12 no writing to bootloader
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
55 # 0 blb11
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
56 # 0 blb02
22
a55d7c2440fd basically done
Matt Johnston <matt@ucc.asn.au>
parents: 20
diff changeset
57 # 0 blb01
35
cce426bb6d3e fix rng and short watchdog
Matt Johnston <matt@ucc.asn.au>
parents: 34
diff changeset
58 # 0 lb2
22
a55d7c2440fd basically done
Matt Johnston <matt@ucc.asn.au>
parents: 20
diff changeset
59 # 0 lb1 bit0
a55d7c2440fd basically done
Matt Johnston <matt@ucc.asn.au>
parents: 20
diff changeset
60
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
61 # ATMega8 fuse bits used above (fuse bits for other devices are different!):
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
62 # Example for 8 MHz internal oscillator
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
63 # Fuse high byte:
41
d07aa7644c66 bit more fiddling
Matt Johnston <matt@ucc.asn.au>
parents: 35
diff changeset
64 # 0xdb = 1 1 0 1 1 0 1 1 <-- BOOTRST (boot reset vector at 0x0000)
d07aa7644c66 bit more fiddling
Matt Johnston <matt@ucc.asn.au>
parents: 35
diff changeset
65 # ^ ^ ^ ^ ^ ^ ^------ BOOTSZ0 (2048 bytes bootloader)
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
66 # | | | | | +-------- BOOTSZ1
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
67 # | | | | +---------- EESAVE (set to 0 to preserve EEPROM over chip erase)
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
68 # | | | +-------------- WDTON
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
69 # | | +---------------- SPIEN (if set to 1, serial programming is disabled)
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
70 # | +------------------ DWEN
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
71 # +-------------------- RSTDISBL (if set to 0, RESET pin is disabled)
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
72 # Fuse low byte:
18
021e6e0006f4 debug printing, 5v adc, fixes
Matt Johnston <matt@ucc.asn.au>
parents: 17
diff changeset
73 # 0x77 0 1 1 1 0 1 1 1 (low rising, full swing, crystal)
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
74 # 0x62 = 0 1 1 0 0 0 1 0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
75 # ^ ^ \ / \--+--/
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
76 # | | | +------- CKSEL 3..0 (8M internal RC)
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
77 # | | +--------------- SUT 1..0 (slowly rising power)
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
78 # | +------------------ CKOUT
18
021e6e0006f4 debug printing, 5v adc, fixes
Matt Johnston <matt@ucc.asn.au>
parents: 17
diff changeset
79 # +-------------------- CLKDIV8 (initial)
021e6e0006f4 debug printing, 5v adc, fixes
Matt Johnston <matt@ucc.asn.au>
parents: 17
diff changeset
80
021e6e0006f4 debug printing, 5v adc, fixes
Matt Johnston <matt@ucc.asn.au>
parents: 17
diff changeset
81 # Extended fuse:
021e6e0006f4 debug printing, 5v adc, fixes
Matt Johnston <matt@ucc.asn.au>
parents: 17
diff changeset
82 # 0xfd = 2.7V BOD
021e6e0006f4 debug printing, 5v adc, fixes
Matt Johnston <matt@ucc.asn.au>
parents: 17
diff changeset
83 #
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
84 #
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
85 # For computing fuse byte values for other devices and options see
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
86 # the fuse bit calculator at http://www.engbedded.com/fusecalc/
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
87
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
88
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
89 # Tune the lines below only if you know what you are doing:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
90
19
5f9a40d6991b Import SD handling from http://www.roland-riegel.de/sd-reader/index.html
Matt Johnston <matt@ucc.asn.au>
parents: 18
diff changeset
91 SHELL := /bin/bash
5f9a40d6991b Import SD handling from http://www.roland-riegel.de/sd-reader/index.html
Matt Johnston <matt@ucc.asn.au>
parents: 18
diff changeset
92 export PATH := $(PATH):/usr/local/CrossPack-AVR/bin/
5f9a40d6991b Import SD handling from http://www.roland-riegel.de/sd-reader/index.html
Matt Johnston <matt@ucc.asn.au>
parents: 18
diff changeset
93
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
94 AVRDUDE = avrdude $(PROGRAMMER)
32
bd9ce7e581ec Fix bad merge
Matt Johnston <matt@ucc.asn.au>
parents: 30
diff changeset
95 COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) -g -std=c99 -mcall-prologues -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--relax -fwhole-program -flto
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
96
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
97 # symbolic targets:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
98 all: main.hex
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
99
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
100 .c.o:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
101 $(COMPILE) -c $< -o $@
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
102
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
103 .S.o:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
104 $(COMPILE) -x assembler-with-cpp -c $< -o $@
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
105 # "-x assembler-with-cpp" should not be necessary since this is the default
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
106 # file type for the .S (with capital S) extension. However, upper case
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
107 # characters are not always preserved on Windows. To ensure WinAVR
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
108 # compatibility define the file type manually.
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
109
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
110 .c.s:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
111 $(COMPILE) -S $< -o $@
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
112
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
113 flash: all
29
Matt Johnston <matt@ucc.asn.au>
parents: 22
diff changeset
114 $(AVRDUDE) -U flash:w:main.hex:i
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
115
33
a3de303afabf Add compiled bootloader
Matt Johnston <matt@ucc.asn.au>
parents: 32
diff changeset
116 combined.hex: main.hex $(BOOTLOADER_HEX)
a3de303afabf Add compiled bootloader
Matt Johnston <matt@ucc.asn.au>
parents: 32
diff changeset
117 srec_cat main.hex -I $(BOOTLOADER_HEX) -I -o $@ -I
34
b210df11f968 build atmegaboot with -Os
Matt Johnston <matt@ucc.asn.au>
parents: 33
diff changeset
118 avr-objdump -h $@
33
a3de303afabf Add compiled bootloader
Matt Johnston <matt@ucc.asn.au>
parents: 32
diff changeset
119
a3de303afabf Add compiled bootloader
Matt Johnston <matt@ucc.asn.au>
parents: 32
diff changeset
120 combo: combined.hex
a3de303afabf Add compiled bootloader
Matt Johnston <matt@ucc.asn.au>
parents: 32
diff changeset
121 $(AVRDUDE) -U flash:w:combined.hex:i
a3de303afabf Add compiled bootloader
Matt Johnston <matt@ucc.asn.au>
parents: 32
diff changeset
122
0
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
123 checkprog:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
124 $(AVRDUDE) -v
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
125
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
126 fuse:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
127 $(AVRDUDE) $(FUSES)
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
128
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
129 # Xcode uses the Makefile targets "", "clean" and "install"
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
130 install: flash
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
131
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
132 # if you use a bootloader, change the command below appropriately:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
133 load: all
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
134 bootloadHID main.hex
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
135
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
136 clean:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
137 rm -f main.hex main.elf $(OBJECTS)
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
138
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
139 # file targets:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
140 main.elf: $(SOURCE)
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
141 $(COMPILE) -o main.elf $(SOURCE) $(LIBS)
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
142
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
143 main.hex: main.elf
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
144 rm -f main.hex
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
145 avr-objcopy -j .text -j .data -O ihex main.elf main.hex
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
146 avr-size --format=avr --mcu=$(DEVICE) main.elf
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
147 # If you have an EEPROM section, you must also create a hex file for the
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
148 # EEPROM and add it to the "flash" target.
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
149
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
150 # Targets for code debugging and analysis:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
151 disasm: main.elf
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
152 avr-objdump -d main.elf
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
153
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
154 cpp:
8705acff2494 lots of stuff
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
155 $(COMPILE) -E main.c