source: trigger/makefile@ 7443

Last change on this file since 7443 was 53, checked in by rissim, 15 years ago
only a test
File size: 1.0 KB
Line 
1
2Wrapper: _VMEmodule.so
3
4v560_test: v560_test.o v560.o
5 cc v560_test.o v560.o -L/usr/atlas/lib -lvme_rcc -o v560_test
6dummy: v560_test.o v560_dummy.o
7 cc v560_test.o v560_dummy.o -L/usr/atlas/lib -lvme_rcc -o v560_test_dummy
8v560.o: v560.c
9 cc -c v560.c -I/usr/atlas/include
10v560_dummy.o: v560_dummy.c
11 cc -c v560_dummy.c -I/usr/atlas/include
12v560_test.o: v560_test.c v560.h
13 cc -c v560_test.c -I/usr/atlas/include
14clean:
15 rm *.o
16 rm *.so
17
18WrapVME.o: WrapVME.c v560.h
19 cc -c WrapVME.c -I/usr/atlas/include -I/usr/include/python2.3/ -I/usr/atlas/v560
20
21VMEmodule.so: WrapVME.o v560.o
22 cc -shared WrapVME.o v560.o -L/usr/atlas/lib -lfl -lvme_rcc -lrcc_time_stamp -o VMEmodule.so
23
24
25
26_VMEmodule.so: VME_wrap.o
27 cc -shared -L/usr/atlas/lib -lvme_rcc v812.o v560.o VME_wrap.o -o _VMEmodule.so
28
29VME_wrap.o: v560.c VME_wrap.c v812.c
30 cc -fpic -c -I/usr/include/python2.3/ -I/usr/lib/python2.3/config/ -I/usr/atlas/include v560.c v812.c VME_wrap.c
31
32VME_wrap.c: VME.i
33 swig -python VME.i
34
35
36
37
38
Note: See TracBrowser for help on using the repository browser.