summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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