Fixed obj and bin not existing and not created

This commit is contained in:
zawz 2019-06-16 14:11:18 +02:00
parent 29f47affba
commit 1992f6f445

View file

@ -5,6 +5,8 @@ BINDIR=bin
NAME = zmidimap
LDFLAGS = -lpthread
CC=g++
CXXFLAGS= -I$(IDIR) -Wall -pedantic -std=c++17
ifeq ($(RELEASE),true)
@ -13,7 +15,8 @@ else
CXXFLAGS += -g
endif
LDFLAGS = -lpthread
$(shell mkdir -p $(ODIR))
$(shell mkdir -p $(BINDIR))
# automatically finds .hpp
DEPS = $(shell if [ -n "$(ld $(IDIR))" ] ; then ls $(IDIR)/*.hpp ; fi)