Last change
on this file since 12256 was 10894, checked in by neise, 13 years ago |
simple daq to talk with FSC ... needs testing
|
File size:
391 bytes
|
Line | |
---|
1 | CC=g++
|
---|
2 | REVISION = $(shell svnversion -n)
|
---|
3 | CFLAGS=-c -Wall -DREVISION='"$(REVISION)"'
|
---|
4 | LDFLAGS=
|
---|
5 | SOURCES=simple_daq.cpp cmd_send.cpp ../SocketFunctions/SocketFunctions.cpp
|
---|
6 | OBJECTS=$(SOURCES:.cpp=.o)
|
---|
7 | EXECUTABLE=simple_daq
|
---|
8 |
|
---|
9 |
|
---|
10 |
|
---|
11 |
|
---|
12 | all: $(SOURCES) $(EXECUTABLE)
|
---|
13 |
|
---|
14 | $(EXECUTABLE): $(OBJECTS)
|
---|
15 | $(CC) $(LDFLAGS) $(OBJECTS) -o $@
|
---|
16 |
|
---|
17 | .cpp.o:
|
---|
18 | $(CC) $(CFLAGS) $< -o $@
|
---|
19 |
|
---|
20 | clean:
|
---|
21 | rm -f $(OBJECTS) $(EXECUTABLE)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.