Last change
on this file since 7062 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 | |
---|
1 | CC=g++
|
---|
2 | CFLAGS=-c -Wall
|
---|
3 | LDFLAGS=
|
---|
4 | SOURCES=simple_daq.cpp cmd_send.cpp ../SocketFunctions/SocketFunctions.cpp
|
---|
5 | OBJECTS=$(SOURCES:.cpp=.o)
|
---|
6 | EXECUTABLE=simple_daq
|
---|
7 |
|
---|
8 | all: $(SOURCES) $(EXECUTABLE)
|
---|
9 |
|
---|
10 | $(EXECUTABLE): $(OBJECTS)
|
---|
11 | $(CC) $(LDFLAGS) $(OBJECTS) -o $@
|
---|
12 |
|
---|
13 | .cpp.o:
|
---|
14 | $(CC) $(CFLAGS) $< -o $@
|
---|
15 |
|
---|
16 | clean:
|
---|
17 | rm -f $(OBJECTS) $(EXECUTABLE)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.