source: tools/FAD/simple_daq/Makefile@ 256

Last change on this file since 256 was 256, checked in by dneise, 14 years ago
simple daq now opens outfiles in path given in config.txt
File size: 327 bytes
Line 
1CC=g++
2CFLAGS=-c -Wall
3LDFLAGS=
4SOURCES=simple_daq.cpp cmd_send.cpp ../SocketFunctions/SocketFunctions.cpp
5OBJECTS=$(SOURCES:.cpp=.o)
6EXECUTABLE=simple_daq
7
8all: $(SOURCES) $(EXECUTABLE)
9
10$(EXECUTABLE): $(OBJECTS)
11 $(CC) $(LDFLAGS) $(OBJECTS) -o $@
12
13.cpp.o:
14 $(CC) $(CFLAGS) $< -o $@
15
16clean:
17 rm -f $(OBJECTS) $(EXECUTABLE)
Note: See TracBrowser for help on using the repository browser.