/pts/Makefile |
---|
11,7 → 11,7 |
SRC = . |
INC1 = -I. -I../lib -I/usr/include |
DBG = |
CFLAGS = $(DBG) $(INC) -fPIC -DLINUX -Wall |
CFLAGS = $(DBG) $(INC) -fPIC -DLINUX -Wall -g |
SHLIB = -lpcivme -lz |
18,8 → 18,11 |
OBJ_FILES = PtsModule.o |
all: pts |
all: ptsvmusb |
ptsvmusb: PtsModule.c VmUsbStack_cvi.c wusbxx_dll.c libxxusb.c |
$(CXX) $(CFLAGS) -DWVMUSB PtsModule.c VmUsbStack_cvi.c wusbxx_dll.c libxxusb.c -lusb -lz -o ptsvmusb |
pts: PtsModule.c wienvme_dll.c |
$(CXX) $(CFLAGS) PtsModule.c wienvme_dll.c $(SHLIB) -o pts |
# cp sa02_ctrl ../bin |