From 61e25ddee408e4d86708a6bd3a33148c5b9a93b5 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 13 Jan 2009 23:29:59 -0500 Subject: [PATCH] Mkdir bin directories in Makefile. --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makefile b/makefile index 90f109c..bac6da5 100644 --- a/makefile +++ b/makefile @@ -263,21 +263,27 @@ OBJS := $(foreach f,$(OBJS),$(BINDIR)/$(f)) all : $(EXE) $(BINDIR)/%.o : %.cpp + @mkdir -p $(dir $@) $(CXX) -o $@ $(CXXFLAGS) $< $(BINDIR)/%.o : %.CC + @mkdir -p $(dir $@) $(CXX) -x c++ -o $@ $(CXXFLAGS) $< $(BINDIR)/%.o : %.cc + @mkdir -p $(dir $@) $(CXX) -o $@ $(CXXFLAGS) $< $(BINDIR)/%.o : %.m + @mkdir -p $(dir $@) $(CC) -o $@ $(CFLAGS) $< $(BINDIR)/%.o : %.c + @mkdir -p $(dir $@) $(CC) -o $@ $(CFLAGS) $< $(EXE) : $(OBJS) $(APPOBJS) + @mkdir -p $(dir $@) ifeq ($(strip $(macosx)),true) ranlib $(SDLDIR)/lib/libSDLmain-osx.a ranlib $(FREETYPEDIR)/lib/libfreetype-osx.a -- 2.39.5