File: makefile

package info (click to toggle)
spooles 2.2-16
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,760 kB
  • sloc: ansic: 146,836; sh: 7,571; csh: 3,615; makefile: 1,970; perl: 74
file content (39 lines) | stat: -rw-r--r-- 1,046 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
include ../../Make.inc
 
#-----------------------------------------------------------------------

LIBS = ../src/spoolesMT.a ../../spooles.a ${THREAD_LIBS} -lm

DRIVERS = testMMM \
          testGridMT \
          testQRgridMT \
          allInOneMT \
          patchAndGoMT \
          testFactorMT

libs :
	cd ../src ; make spoolesMT.a

drivers : ${DRIVERS}

clean :
	- rm -f *.a *.o ${DRIVERS}

allInOneMT : allInOneMT.o libs ../../spooles.a
	${PURIFY} ${CC} $@.o -o $@ $(PURIFY_GCC_VERSION) ${LIBS}

testFactorMT : testFactorMT.o libs ../../spooles.a
	${PURIFY} ${CC} $@.o -o $@ $(PURIFY_GCC_VERSION) ${LIBS} 

testMMM : testMMM.o libs ../../spooles.a
	${PURIFY} ${CC} $@.o -o $@ $(PURIFY_GCC_VERSION) ${LIBS} 

testQRgridMT : testQRgridMT.o libs ../../spooles.a
	${PURIFY} ${CC} $(PURIFY_GCC_VERSION) $@.o -o $@ ${LIBS} 
 
testGridMT : testGridMT.o libs ../../spooles.a
	${PURIFY} ${CC} $(PURIFY_GCC_VERSION) $@.o -o $@ ${LIBS} 
 
patchAndGoMT : patchAndGoMT.o libs ../../spooles.a
	${PURIFY} ${CC} $(PURIFY_GCC_VERSION) $@.o -o $@ ${LIBS}