Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 14 → Rev 15

/pts/Makefile
13,13 → 13,6
DBG =
CFLAGS = $(DBG) $(INC) -fPIC -DLINUX -Wall
 
 
TARGET = daq
 
FILES = $(SRC)/daq.C
 
VMELIB = libf9vme.a
 
SHLIB = -lpcivme -lz
 
OBJ_FILES = PtsModule.o
53,23 → 46,13
$(CXX) -c $(CFLAGS) $<
ar r $(VMELIB) $@
 
vme: $(OBJ_FILES)
 
 
 
VMEModule.o: VMEModule.hh VMEModule.cc
 
CAENV965.o: CAENV965.h CAENV965_DEF.h CAENV965.c
 
 
$(TARGET): $(FILES) $(OBJ_FILES)
$(CXX) -DMAIN $(CFLAGS) $(FILES) $(OBJ_FILES) $(SHLIB) -o $(TARGET)
 
 
 
clean:
rm Dict.C libdaq.so $(TARGET1)
rm pts
 
 
tgz:
tar czvf vme.tgz Makefile *.c *.h *.C *.cc *.hh
tar czvf pts.tgz Makefile *.c *.h *.C *.cc *.hh