From 511a0a0273276a41b73c45a2470ad872fdde1381 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 28 Feb 2012 16:00:51 +0100 Subject: Migrate to CMake --- src/CMakeLists.txt | 2 ++ src/Makefile | 13 ------------- 2 files changed, 2 insertions(+), 13 deletions(-) create mode 100644 src/CMakeLists.txt delete mode 100644 src/Makefile (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..3af62b3 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(fastd fastd.c handshake.c method_null.c queue.c task.c) +target_link_libraries(fastd rt) diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index e36757e..0000000 --- a/src/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -all : fastd - -fastd : fastd.o method_null.o task.o handshake.o queue.o - $(CC) -o $@ $^ -lrt - -fastd.o : fastd.c fastd.h task.h queue.h handshake.h -handshake.o : handshake.c packet.h handshake.h queue.h -method_null.o : method_null.c fastd.h task.h queue.h -task.o : task.c task.h queue.h -queue.o : queue.c queue.h - -clean : - rm -f fastd fastd.o handshake.o method_null.o task.o queue.o -- cgit v1.2.3