aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc')
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
index 09d77eb7..a1fef152 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
@@ -24,9 +24,11 @@ $(TARGETPATH):
mkdir -p $@
$(TARGETPATH)/%.opp : $(SRCDIR)/%.cpp
+ -mkdir -p $(dir $@)
$(CXX) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
$(TARGETPATH)/%.o : $(SRCDIR)/%.c
+ -mkdir -p $(dir $@)
$(CC) -c $(CFLAGS) $(DEFS) $(INCPATH) $< -o $@
$(TARGET):: $(TARGETPATH)