Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
8 f9daq 1
PREFIX=/usr/local
2
 
3
libusmc.so: libusmc.o
4
	gcc -shared -o libusmc.so libusmc.o -lm
5
 
6
libusmc.o: libusmc.c
7
	gcc -c -fPIC -I../usmcdrv/ -o libusmc.o libusmc.c
8
 
9
testinstall:
10
	cp -v libusmc.so ../usmctest/
11
	cp -v libusmc.h ../usmctest/
12
 
13
install:
14
	install  libusmc.so $(PREFIX)/lib
15
	install  libusmc.h  $(PREFIX)/include
16
 
17
clean:
18
	rm -f *.o *.so