]>
Commit | Line | Data |
---|---|---|
412ebb8e A |
1 | |
2 | TESTROOT = ../.. | |
3 | include ${TESTROOT}/include/common.makefile | |
4 | ||
5 | ||
6 | all-check: all check | |
7 | ||
8 | check: | |
9 | ./main | |
10 | ||
11 | all: | |
12 | $(CC) $(CCFLAGS) -I${TESTROOT}/include main.c -o main | |
13 | $(CC) $(CCFLAGS) bar.c -dynamiclib -o libbar.dylib | |
14 | $(CC) $(CCFLAGS) foo.c -dynamiclib -o libfoo.dylib | |
15 | strip -c -x libfoo.dylib -o libstub.dylib | |
16 | ||
17 | clean: | |
18 | ${RM} ${RMFLAGS} libbar.dylib libfoo.dylib libstub.dylib main |