Last change
on this file since 15471 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 | |
---|
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.