summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-01 14:20:05 -0400
committerMatthew Heon <matthew.heon@gmail.com>2017-11-01 14:20:05 -0400
commiteab0737f1189a7b88f0a37a6b894ca4345b6853f (patch)
tree05412dcc190ca026dbe51a4ef72bb91ff646e7c6
parent26afe3935ce6226fb2b0e6a2993c65432107268a (diff)
downloadpodman-eab0737f1189a7b88f0a37a6b894ca4345b6853f.tar.gz
podman-eab0737f1189a7b88f0a37a6b894ca4345b6853f.tar.bz2
podman-eab0737f1189a7b88f0a37a6b894ca4345b6853f.zip
Fix makefile issue
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
-rw-r--r--Makefile5
-rw-r--r--conmon/Makefile1
2 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 39e0a8cda..235ea4a22 100644
--- a/Makefile
+++ b/Makefile
@@ -62,9 +62,6 @@ ifeq ("$(wildcard $(GOPKGDIR))","")
endif
touch "$(GOPATH)/.gopathok"
-.bindir:
- mkdir -p "$(GOPKGDIR)/bin/"
-
lint: .gopathok
@echo "checking lint"
@./.tool/lint
@@ -117,7 +114,7 @@ testunit:
localintegration: clean binaries test-binaries
./test/test_runner.sh ${TESTFLAGS}
-binaries: .bindir conmon kpod
+binaries: conmon kpod
test-binaries: test/bin2img/bin2img test/copyimg/copyimg test/checkseccomp/checkseccomp
MANPAGES_MD := $(wildcard docs/*.md)
diff --git a/conmon/Makefile b/conmon/Makefile
index b75605d94..67c067be3 100644
--- a/conmon/Makefile
+++ b/conmon/Makefile
@@ -5,6 +5,7 @@ override LIBS += $(shell pkg-config --libs glib-2.0)
override CFLAGS += -std=c99 -Os -Wall -Wextra $(shell pkg-config --cflags glib-2.0)
conmon: $(obj)
+ mkdir -p ../bin/
$(CC) -o ../bin/$@ $^ $(CFLAGS) $(LIBS)
.PHONY: clean