diff options
author | toni <toni@devlap.local> | 2015-10-13 09:01:50 +0200 |
---|---|---|
committer | toni <toni@devlap.local> | 2015-10-13 09:36:52 +0200 |
commit | c89e18ec972f165650a453aa8bd8b30309e323e6 (patch) | |
tree | 574ed98c31b610fca94cff193767af3d10aabd52 /tests/Makefile | |
parent | 8315e840358f1ef19295a2cf899144b2faa3ad3d (diff) |
added semaphore tests
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile new file mode 100644 index 0000000..22a5469 --- /dev/null +++ b/tests/Makefile @@ -0,0 +1,15 @@ +CFLAGS = -Wall +LDFLAGS = -lpthread +CC = gcc +SOURCES = $(wildcard *.c) +BINARIES = $(patsubst %.c,%,$(SOURCES)) + +all: $(BINARIES) + +%: %.c + $(CC) $(CFLAGS) $(LDFLAGS) $< -o $(patsubst %.c,%,$<) + +clean: + rm -f $(BINARIES) + +.PHONY: all install clean |