Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

PREFIX=/usr/local

libusmc.so: libusmc.o
        gcc -shared -o libusmc.so libusmc.o -lm

libusmc.o: libusmc.c
        gcc -c -fPIC -I../usmcdrv/ -o libusmc.o libusmc.c

testinstall:
        cp -v libusmc.so ../usmctest/
        cp -v libusmc.h ../usmctest/

install:
        install  libusmc.so $(PREFIX)/lib
        install  libusmc.h  $(PREFIX)/include

clean:
        rm -f *.o *.so