Adds creation of bin/ dir if not present
This commit is contained in:
parent
e84d5e2e05
commit
ef8cda3b2d
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -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)$@
|
||||
|
||||
|
|
Loading…
Reference in a new issue