Adds creation of bin/ dir if not present

This commit is contained in:
Daniel Graziotin 2012-07-03 13:30:43 +02:00
parent e84d5e2e05
commit ef8cda3b2d

View file

@ -42,6 +42,7 @@ endif
OBJS := $(patsubst %.$(C),%.$(OBJ),$(wildcard $(SOURCE_PATH)*.$(C)))
%.$(OBJ):%.$(C)
mkdir -p bin
@echo Compiling $(basename $<)...
$(CCMD) -c $(CPPFLAGS) $(CXXFLAGS) $< $(OBJFLAG)$@