comparison Makefile @ 103:8921f0344193

Command-line compiler goes the whole nine yards
author Adam Chlipala <adamc@hcoop.net>
date Thu, 10 Jul 2008 14:14:23 -0400
parents 5f04adf47f48
children 94856a3b4752
comparison
equal deleted inserted replaced
102:5f04adf47f48 103:8921f0344193
11 src/lacweb.cm src/lacweb.mlb \ 11 src/lacweb.cm src/lacweb.mlb \
12 clib/*.o 12 clib/*.o
13 rm -rf .cm src/.cm 13 rm -rf .cm src/.cm
14 14
15 clib/lacweb.o: src/c/lacweb.c 15 clib/lacweb.o: src/c/lacweb.c
16 gcc -I include -c src/c/lacweb.c -o clib/lacweb.o 16 gcc -O3 -I include -c src/c/lacweb.c -o clib/lacweb.o
17 17
18 clib/driver.o: src/c/driver.c 18 clib/driver.o: src/c/driver.c
19 gcc -c src/c/driver.c -o clib/driver.o 19 gcc -O3 -c src/c/driver.c -o clib/driver.o
20 20
21 src/lacweb.cm: src/prefix.cm src/sources 21 src/lacweb.cm: src/prefix.cm src/sources
22 cat src/prefix.cm src/sources \ 22 cat src/prefix.cm src/sources \
23 >src/lacweb.cm 23 >src/lacweb.cm
24 24