source: fact/tools/FAD/simple_daq/Makefile@ 10113

Last change on this file since 10113 was 9926, checked in by ogrimm, 14 years ago
now checks revision and just prints it. init_fad() now sets DACs. minor changes..
File size: 391 bytes
Line 
1CC=g++
2REVISION = $(shell svnversion -n)
3CFLAGS=-c -Wall -DREVISION='"$(REVISION)"'
4LDFLAGS=
5SOURCES=simple_daq.cpp cmd_send.cpp ../SocketFunctions/SocketFunctions.cpp
6OBJECTS=$(SOURCES:.cpp=.o)
7EXECUTABLE=simple_daq
8
9
10
11
12all: $(SOURCES) $(EXECUTABLE)
13
14$(EXECUTABLE): $(OBJECTS)
15 $(CC) $(LDFLAGS) $(OBJECTS) -o $@
16
17.cpp.o:
18 $(CC) $(CFLAGS) $< -o $@
19
20clean:
21 rm -f $(OBJECTS) $(EXECUTABLE)
Note: See TracBrowser for help on using the repository browser.