Rev 12 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
CC = gcc
INC=-I. -I$(ROOTINC)
LIBS=$(ROOTLIB) -L./ -lm
SRC = .
INC1 = -I. -I../lib -I/usr/include
DBG =
CFLAGS = $(DBG) $(INC) -fPIC -DLINUX -Wall
SHLIB = -lpcivme -lz
OBJ_FILES = PtsModule.o
all: pts
pts: PtsModule.c wienvme_dll.c
$(CXX) $(CFLAGS) PtsModule.c wienvme_dll.c $(SHLIB) -o pts
# cp sa02_ctrl ../bin
.cpp.o:
$(CXX) -c $(CFLAGS) $<
ar r $(VMELIB) $@
.C.o:
$(CXX) -c $(CFLAGS) $<
ar r $(VMELIB) $@
.cc.o:
$(CXX) -c $(CFLAGS) $<
ar r $(VMELIB) $@
.c.o:
$(CXX) -c $(CFLAGS) $<
ar r $(VMELIB) $@
clean:
rm pts
tgz:
tar czvf pts.tgz Makefile *.c *.h *.C *.cc *.hh