Rev | Line | |
---|
[22] | 1 | |
---|
| 2 | CC= g++ |
---|
| 3 | CPPFLAGS= -g -I. -I.. -I/sw/include -DDISPATCH_DEBUG |
---|
| 4 | LDFLAGS= -L/sw/lib -lboost_thread |
---|
| 5 | |
---|
| 6 | BIN= test |
---|
| 7 | SOURCES= tmp/test.cpp \ |
---|
| 8 | DispatchInfo.cpp \ |
---|
| 9 | $(wildcard *Dispatcher.cpp) \ |
---|
| 10 | $(wildcard *Dissector.cpp) \ |
---|
| 11 | $(wildcard *Factory.cpp) \ |
---|
| 12 | $(wildcard ../Logger/*.cpp) |
---|
| 13 | |
---|
| 14 | OBJECTS= $(SOURCES:.cpp=.o) |
---|
| 15 | |
---|
| 16 | all: $(BIN) |
---|
| 17 | |
---|
| 18 | .cpp.o: |
---|
| 19 | $(CC) $(CPPFLAGS) -c $< -o $@ |
---|
| 20 | |
---|
| 21 | test: ${OBJECTS} |
---|
| 22 | $(CC) $(LDFLAGS) -o $@ $^ |
---|
| 23 | |
---|
| 24 | clean: |
---|
| 25 | rm *.o tmp/*.o test |
---|
| 26 | |
---|
| 27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.