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