Bladeren bron

Makefile should create all required directories

bel2125 8 jaren geleden
bovenliggende
commit
698303af84
4 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 1 0
      Makefile
  2. 1 0
      resources/Makefile.in-duktape
  3. 1 0
      resources/Makefile.in-lua
  4. 1 0
      resources/Makefile.in-os

+ 1 - 0
Makefile

@@ -320,3 +320,4 @@ indent:
 	astyle --suffix=none --style=linux --indent=spaces=4 --lineend=linux  include/*.h src/*.c src/*.cpp src/*.inl examples/*/*.c  examples/*/*.cpp
 
 .PHONY: all help build install clean lib so
+

+ 1 - 0
resources/Makefile.in-duktape

@@ -57,4 +57,5 @@ DUKTAPE_OBJECTS = $(DUKTAPE_SOURCES:.c=.o)
 OBJECTS += $(DUKTAPE_OBJECTS)
 CFLAGS += $(DUKTAPE_CFLAGS)
 SOURCE_DIRS = $(DUKTAPE_DIR)
+BUILD_DIRS += $(BUILD_DIR)/$(DUKTAPE_DIR)
 

+ 1 - 0
resources/Makefile.in-lua

@@ -108,6 +108,7 @@ LUA_OBJECTS = $(LUA_SOURCES:.c=.o)
 OBJECTS += $(LUA_OBJECTS)
 CFLAGS += $(LUA_CFLAGS)
 SOURCE_DIRS = $(LUA_DIR)
+BUILD_DIRS += $(BUILD_DIR)/$(LUA_DIR)
 
 
 ifneq ($(WITH_LUA_VERSION), 501)

+ 1 - 0
resources/Makefile.in-os

@@ -20,3 +20,4 @@ ifeq ($(TARGET_OS),)
     endif
   endif
 endif
+