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)