source: fact/tools/FSC/simple_daq/Makefile@ 13702

Last change on this file since 13702 was 10894, checked in by neise, 14 years ago
simple daq to talk with FSC ... needs testing
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.