summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-05-27 15:30:08 +0200
committerTimo Dritschler <timo.dritschler@kit.edu>2014-05-27 15:31:04 +0200
commit69f57959d50cf08d063484551f15f6990582953d (patch)
tree5b445bc327ad2da38d26837b8693a16421d2111a /Makefile
parent72cb71c99131db200871dac9e17acefdf97292e7 (diff)
downloadkiro-69f57959d50cf08d063484551f15f6990582953d.tar.gz
kiro-69f57959d50cf08d063484551f15f6990582953d.tar.bz2
kiro-69f57959d50cf08d063484551f15f6990582953d.tar.xz
kiro-69f57959d50cf08d063484551f15f6990582953d.zip
Changed build system to CMake
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile41
1 files changed, 0 insertions, 41 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 92f5508..0000000
--- a/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-CC=gcc
-CFLAGS=-std=c99 -Wall -g -gdwarf-2 $(shell pkg-config --cflags gobject-2.0)
-LDFLAGS=-lSDL -lm -lrdmacm -libverbs -lpthread $(shell pkg-config --libs gobject-2.0)
-
-
-.PHONY : all
-all: base
-
-base: kiro-trb.o kiro-client.o kiro-server.o
-
-kiro-trb.o: kiro-trb.c kiro-trb.h
- $(CC) $(CFLAGS) $(LDFLAGS) -c kiro-trb.c -o kiro-trb.o
-
-kiro-client.o: kiro-client.c kiro-client.h
- $(CC) $(CFLAGS) $(LDFLAGS) -c kiro-client.c -o kiro-client.o
-
-kiro-server.o: kiro-server.c kiro-server.h
- $(CC) $(CFLAGS) $(LDFLAGS) -c kiro-server.c -o kiro-server.o
-
-
-.PHONY : test
-test: test-trb client server
-
-test-trb: kiro-trb.o test.c
- $(CC) $(CFLAGS) $(LDFLAGS) test.c kiro-trb.o -o test-trb
-
-client: kiro-client.o kiro-trb.o test-client.c
- $(CC) $(CFLAGS) $(LDFLAGS) test-client.c kiro-client.o kiro-trb.o -o client
-
-server: kiro-server.o kiro-trb.o test-server.c
- $(CC) $(CFLAGS) $(LDFLAGS) test-server.c kiro-server.o kiro-trb.o -o server
-
-
-.PHONY : clean
-clean:
- rm -f *.o test-trb client server
-
-
-.PHONY : rebuild
-rebuild: clean all
-