Commit ef8cda3b authored by Daniel Graziotin's avatar Daniel Graziotin

Adds creation of bin/ dir if not present

parent e84d5e2e
...@@ -42,6 +42,7 @@ endif ...@@ -42,6 +42,7 @@ endif
OBJS := $(patsubst %.$(C),%.$(OBJ),$(wildcard $(SOURCE_PATH)*.$(C))) OBJS := $(patsubst %.$(C),%.$(OBJ),$(wildcard $(SOURCE_PATH)*.$(C)))
%.$(OBJ):%.$(C) %.$(OBJ):%.$(C)
mkdir -p bin
@echo Compiling $(basename $<)... @echo Compiling $(basename $<)...
$(CCMD) -c $(CPPFLAGS) $(CXXFLAGS) $< $(OBJFLAG)$@ $(CCMD) -c $(CPPFLAGS) $(CXXFLAGS) $< $(OBJFLAG)$@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment