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 /Makefile | |
parent | 8315e840358f1ef19295a2cf899144b2faa3ad3d (diff) |
added semaphore tests
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,7 @@ CFLAGS ?= $(shell ncurses5-config --cflags) -Wall -D_GNU_SOURCE=1 DBGFLAGS = -g LDFLAGS ?= $(shell ncurses5-config --libs) -pthread -CC := gcc +CC ?= gcc INSTALL ?= install VERSION ?= $(shell if [ -d ./.git ]; then echo -n "git-"; git rev-parse --short HEAD; else echo "1.2a"; fi) BIN = naskpass @@ -11,9 +11,11 @@ all: $(BIN) $(BIN): $(SOURCES) $(CC) $(SOURCES) -D_VERSION=\"$(VERSION)\" $(CFLAGS) $(LDFLAGS) -o $(BIN) + $(MAKE) -C tests CC='$(CC)' CFLAGS='$(CFLAGS)' all debug: $(MAKE) CFLAGS='$(CFLAGS) $(DBGFLAGS)' + $(MAKE) -C tests CFLAGS='$(CFLAGS) $(DBGFLAGS)' install: $(INSTALL) -D -m 0755 $(BIN) $(DESTDIR)/lib/cryptsetup/naskpass @@ -30,6 +32,7 @@ uninstall: clean: rm -f $(BIN) + $(MAKE) -C tests clean source: -dh_make --createorig -p naskpass_$(VERSION) -s -y |