X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b819effdc984e492bbce459faa7432931ccfeb58..769e9f3ea1cbe67d3b98e6db6c956abde2384868:/buildlib/staticlibrary.mak?ds=sidebyside diff --git a/buildlib/staticlibrary.mak b/buildlib/staticlibrary.mak index 0835fe8a0..e81770e8a 100644 --- a/buildlib/staticlibrary.mak +++ b/buildlib/staticlibrary.mak @@ -24,6 +24,9 @@ library: $($(LOCAL)-LIB) clean: clean/$(LOCAL) veryclean: veryclean/$(LOCAL) +# Make Directories +MKDIRS += $(OBJ) $(DEP) $(LIB) $(dir $($(LOCAL)-HEADERS)) + # The clean rules .PHONY: clean/$(LOCAL) veryclean/$(LOCAL) clean/$(LOCAL): @@ -47,7 +50,7 @@ endif vpath %.cc $(SUBDIRS) $(OBJ)/%.o: %.cc echo Compiling $< to $@ - $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXFLAGS) -o $@ $< + $(CXX) -c $(INLINEDEPFLAG) $(CPPFLAGS) $(CXXSTD) $(CXXFLAGS) -o $@ '$(abspath $<)' $(DoDep) # Include the dependencies that are available