diff options
author | Timo Dritschler <timo.dritschler@kit.edu> | 2014-04-23 18:24:12 +0200 |
---|---|---|
committer | Timo Dritschler <timo.dritschler@kit.edu> | 2014-04-23 18:24:12 +0200 |
commit | 7fcbf0c689566dbe5a58eac0be7693b839cd5444 (patch) | |
tree | f1e8ba5ce169a003e47f960d0129cab5f250cb92 /Makefile | |
download | kiro-7fcbf0c689566dbe5a58eac0be7693b839cd5444.tar.gz kiro-7fcbf0c689566dbe5a58eac0be7693b839cd5444.tar.bz2 kiro-7fcbf0c689566dbe5a58eac0be7693b839cd5444.tar.xz kiro-7fcbf0c689566dbe5a58eac0be7693b839cd5444.zip |
Initial Commit for "KIT Infiniband Remote Objects" (KIRO) Library
Created KiroTrb (KIRO Transmittable Ring Buffer) class
Wrote short test for KiroTrb class
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5505df9 --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +CC=gcc +CFLAGS=-std=c99 -Wall -g -gdwarf-2 $(shell pkg-config --cflags gobject-2.0) +LDFLAGS= -lrdmacm -libverbs -lpthread $(shell pkg-config --libs gobject-2.0) + + +all: base + +base: kiro-trb.o + +kiro-cbr.o: kiro-trb.c kiro-trb.h + $(CC) $(CFLAGS) $(LDFLAGS) -c kiro-trb.c -o kiro-trb.o + + +test-trb: test + +test: kiro-trb.o test.c + $(CC) $(CFLAGS) $(LDFLAGS) test.c kiro-trb.o -o test-tbr + + +clean: + rm -f *.o test-trb + + + +rebuild: clean all + |