From 323b7e6fad0bb73a854619951eb3cc8c87e7de40 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 7 May 2017 01:34:37 +0200 Subject: [PATCH] Update makefile : add make bin --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 24d2189..dca7ce1 100644 --- a/makefile +++ b/makefile @@ -24,10 +24,12 @@ CFLAGS+=-DVERSION=\"$(MAJOR).$(MINOR).$(MICRO)\" APPSRCS=src/main.cpp src/helpers/*.cpp src/helpers/*.h LIBSRCS=src/classes/*.cpp src/classes/*.h -.PHONY: all debug clean setup install uninstall lib install-lib install-dev +.PHONY: all bin debug clean setup install uninstall lib install-lib install-dev all: lib/lib$(PROGN).so bin/$(PROGN) +bin: bin/$(PROGN) + bin/$(PROGN): $(APPSRCS) $(LIBSRCS) @mkdir -p bin $(CC) $(CPPFLAGS) $(CFLAGS) $^ -o $@ $(LDFLAGS)