Blame | Last modification | View Log | RSS feed
TGZNAME = $(shell date +daq.%y_%m_%d.%H.tgz)
LIBS= -lCAENVME -lz
DFLAGS = -DV729_DEBUG
CFLAGS = -O -DLINUX -DV729_MAIN -fPIC -Wall
SRC=CAEN_V729.c CAEN_V1718.c
CC = g++
all: CAEN_V729
.c.o :
@echo "Compiling $< ..."
$(CC) -c $(CFLAGS) $<
CAEN_V729: $(SRC)
@echo "Building $@"
$(CC) $(CFLAGS) $(SRC) $(LIBS) -o CAEN_V729
clean :
-rm -f *.o
-rm -f *% *~
scp:
rsync -ave ssh $(TGZNAME) rok@brenta:lab/code/12/
tgz:
tar czvf $(TGZNAME) *.c *.h *.cxx Makefile