Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
189 | f9daq | 1 | TGZNAME = $(shell date +daq.%y_%m_%d.%H.tgz) |
2 | LIBS= -lCAENVME -lz |
||
3 | DFLAGS = -DV729_DEBUG |
||
4 | CFLAGS = -O -DLINUX -DV729_MAIN -fPIC -Wall |
||
5 | SRC=CAEN_V729.c CAEN_V1718.c |
||
6 | CC = g++ |
||
7 | |||
8 | |||
9 | all: CAEN_V729 |
||
10 | |||
11 | .c.o : |
||
12 | @echo "Compiling $< ..." |
||
13 | $(CC) -c $(CFLAGS) $< |
||
14 | |||
15 | |||
16 | CAEN_V729: $(SRC) |
||
17 | @echo "Building $@" |
||
18 | $(CC) $(CFLAGS) $(SRC) $(LIBS) -o CAEN_V729 |
||
19 | |||
20 | |||
21 | |||
22 | clean : |
||
23 | -rm -f *.o |
||
24 | -rm -f *% *~ |
||
25 | |||
26 | |||
27 | |||
28 | scp: |
||
29 | rsync -ave ssh $(TGZNAME) rok@brenta:lab/code/12/ |
||
30 | |||
31 | tgz: |
||
32 | tar czvf $(TGZNAME) *.c *.h *.cxx Makefile |