Subversion Repositories f9daq

Rev

Rev 15 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15 Rev 81
Line 9... Line 9...
9
 
9
 
10
 
10
 
11
SRC     = .
11
SRC     = .
12
INC1     = -I. -I../lib -I/usr/include
12
INC1     = -I. -I../lib -I/usr/include
13
DBG     = 
13
DBG     = 
14
CFLAGS  = $(DBG) $(INC)  -fPIC -DLINUX -Wall
14
CFLAGS  = $(DBG) $(INC)  -fPIC -DLINUX -Wall -g
15
 
15
 
16
SHLIB   =  -lpcivme -lz
16
SHLIB   =  -lpcivme -lz
17
 
17
 
18
OBJ_FILES = PtsModule.o
18
OBJ_FILES = PtsModule.o
19
 
19
 
20
 
20
 
21
all: pts
21
all: ptsvmusb
-
 
22
 
-
 
23
ptsvmusb: PtsModule.c VmUsbStack_cvi.c   wusbxx_dll.c libxxusb.c
-
 
24
	$(CXX) $(CFLAGS)  -DWVMUSB PtsModule.c VmUsbStack_cvi.c   wusbxx_dll.c libxxusb.c  -lusb -lz -o ptsvmusb
22
 
25
 
23
pts: PtsModule.c  wienvme_dll.c 
26
pts: PtsModule.c  wienvme_dll.c 
24
	$(CXX) $(CFLAGS)  PtsModule.c  wienvme_dll.c    $(SHLIB) -o pts
27
	$(CXX) $(CFLAGS)  PtsModule.c  wienvme_dll.c    $(SHLIB) -o pts
25
#	cp sa02_ctrl ../bin
28
#	cp sa02_ctrl ../bin
26
	
29