Fixed obj and bin not existing and not created
This commit is contained in:
parent
29f47affba
commit
1992f6f445
1 changed files with 4 additions and 1 deletions
5
makefile
5
makefile
|
|
@ -5,6 +5,8 @@ BINDIR=bin
|
||||||
|
|
||||||
NAME = zmidimap
|
NAME = zmidimap
|
||||||
|
|
||||||
|
LDFLAGS = -lpthread
|
||||||
|
|
||||||
CC=g++
|
CC=g++
|
||||||
CXXFLAGS= -I$(IDIR) -Wall -pedantic -std=c++17
|
CXXFLAGS= -I$(IDIR) -Wall -pedantic -std=c++17
|
||||||
ifeq ($(RELEASE),true)
|
ifeq ($(RELEASE),true)
|
||||||
|
|
@ -13,7 +15,8 @@ else
|
||||||
CXXFLAGS += -g
|
CXXFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDFLAGS = -lpthread
|
$(shell mkdir -p $(ODIR))
|
||||||
|
$(shell mkdir -p $(BINDIR))
|
||||||
|
|
||||||
# automatically finds .hpp
|
# automatically finds .hpp
|
||||||
DEPS = $(shell if [ -n "$(ld $(IDIR))" ] ; then ls $(IDIR)/*.hpp ; fi)
|
DEPS = $(shell if [ -n "$(ld $(IDIR))" ] ; then ls $(IDIR)/*.hpp ; fi)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue