diff options
author | Christian Pointner <equinox@anytun.org> | 2008-02-28 17:44:53 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-02-28 17:44:53 +0000 |
commit | c78b1a326d96406ccc871b8af618dd209baa76f4 (patch) | |
tree | 11443a0182e256ebc72a5c17cd3f9c8130cbee84 /plain_tool/Makefile | |
parent | added control interface (diff) |
added generic tool code
added anyrtpproxy
Diffstat (limited to 'plain_tool/Makefile')
-rw-r--r-- | plain_tool/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/plain_tool/Makefile b/plain_tool/Makefile new file mode 100644 index 0000000..e35d6b1 --- /dev/null +++ b/plain_tool/Makefile @@ -0,0 +1,39 @@ +C = gcc +CFLAGS = -g -Wall +C++ = g++ +CCFLAGS = -g -Wall +LD = g++ +LDFLAGS = -g -Wall -O2 -lpthread + +OBJS = plain_tool.o \ + signalController.o \ + PracticalSocket.o \ + log.o \ + options.o + +EXECUTABLE = plain_tool + +all: $(EXECUTABLE) + +plain_tool: $(OBJS) + $(LD) $(OBJS) -o $@ $(LDFLAGS) + +signalController.o: ../signalController.cpp ../signalController.h + $(C++) $(CCFLAGS) $< -c + +PracticalSocket.o: ../PracticalSocket.cpp ../PracticalSocket.h + $(C++) $(CCFLAGS) $< -c + +log.o: ../log.cpp ../log.h + $(C++) $(CCFLAGS) $< -c + +options.o: options.cpp options.h + $(C++) $(CCFLAGS) $< -c + +plain_tool.o: plain_tool.cpp + $(C++) $(CCFLAGS) $< -c + +clean: + rm -f *.o + rm -f $(EXECUTABLE) + |