]>
Commit | Line | Data |
---|---|---|
39a8cd10 A |
1 | |
2 | ||
3 | TESTROOT = ../.. | |
4 | include ${TESTROOT}/include/common.makefile | |
5 | ||
6 | all-check: all check | |
7 | ||
8 | check: | |
9 | ./main | |
10 | ||
11 | all: main | |
12 | ||
13 | main: main.c libfoo.dylib | |
14 | ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c libfoo.dylib | |
15 | ||
16 | libfoo.dylib: foo.c | |
17 | ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libfoo.dylib foo.c | |
18 | ||
19 | clean: | |
20 | ${RM} ${RMFLAGS} *~ main libfoo.dylib | |
21 |