Mercurial > urweb
comparison Makefile @ 102:5f04adf47f48
Writing HTML
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 10 Jul 2008 14:02:54 -0400 |
parents | 4202f6eda946 |
children | 8921f0344193 |
comparison
equal
deleted
inserted
replaced
101:717b6f8d8505 | 102:5f04adf47f48 |
---|---|
1 all: smlnj mlton | 1 all: smlnj mlton c |
2 | 2 |
3 .PHONY: all smlnj mlton clean | 3 .PHONY: all smlnj mlton c clean |
4 | 4 |
5 smlnj: src/lacweb.cm | 5 smlnj: src/lacweb.cm |
6 mlton: bin/lacweb | 6 mlton: bin/lacweb |
7 c: clib/lacweb.o clib/driver.o | |
7 | 8 |
8 clean: | 9 clean: |
9 rm -f src/*.mlton.grm.* src/*.mlton.lex.* \ | 10 rm -f src/*.mlton.grm.* src/*.mlton.lex.* \ |
10 src/lacweb.cm src/lacweb.mlb | 11 src/lacweb.cm src/lacweb.mlb \ |
12 clib/*.o | |
11 rm -rf .cm src/.cm | 13 rm -rf .cm src/.cm |
14 | |
15 clib/lacweb.o: src/c/lacweb.c | |
16 gcc -I include -c src/c/lacweb.c -o clib/lacweb.o | |
17 | |
18 clib/driver.o: src/c/driver.c | |
19 gcc -c src/c/driver.c -o clib/driver.o | |
12 | 20 |
13 src/lacweb.cm: src/prefix.cm src/sources | 21 src/lacweb.cm: src/prefix.cm src/sources |
14 cat src/prefix.cm src/sources \ | 22 cat src/prefix.cm src/sources \ |
15 >src/lacweb.cm | 23 >src/lacweb.cm |
16 | 24 |