More fixes to Makefile
This commit is contained in:
@@ -182,8 +182,9 @@ endif
|
|||||||
|
|
||||||
all: build/$(OS)/$(LUPREX_EXE) build/$(OS)/$(LUPREXSTATIC_EXE) build/$(OS)/$(LUPREXLIB_DLL)
|
all: build/$(OS)/$(LUPREX_EXE) build/$(OS)/$(LUPREXSTATIC_EXE) build/$(OS)/$(LUPREXLIB_DLL)
|
||||||
|
|
||||||
build:
|
build/DIRECTORY:
|
||||||
mkdir -p build/$(OS)/core build/$(OS)/eris build/$(OS)/drv
|
mkdir -p build/$(OS)/core build/$(OS)/eris build/$(OS)/drv
|
||||||
|
touch build/DIRECTORY
|
||||||
|
|
||||||
build/$(OS)/$(LUPREX_EXE): build/$(OS)/$(LUPREXLIB_DLL) $(OBJ_DRV)
|
build/$(OS)/$(LUPREX_EXE): build/$(OS)/$(LUPREXLIB_DLL) $(OBJ_DRV)
|
||||||
$(LINKEXE) $@ $(OBJ_DRV) $(LIBS)
|
$(LINKEXE) $@ $(OBJ_DRV) $(LIBS)
|
||||||
@@ -197,15 +198,15 @@ build/$(OS)/$(LUPREXLIB_DLL): $(OBJ_ERIS) $(OBJ_CORE)
|
|||||||
$(LINKDLL) $@ $^
|
$(LINKDLL) $@ $^
|
||||||
$(MAKEPDB) $@
|
$(MAKEPDB) $@
|
||||||
|
|
||||||
build/$(OS)/eris/%.obj: ext/eris-master/src/%.c build
|
build/$(OS)/eris/%.obj: ext/eris-master/src/%.c build/DIRECTORY
|
||||||
$(MAKEDEPS) $@d $(LUA_FLAGS) $<
|
$(MAKEDEPS) $@d $(LUA_FLAGS) $<
|
||||||
$(COMPILE) $@ $(LUA_FLAGS) $<
|
$(COMPILE) $@ $(LUA_FLAGS) $<
|
||||||
|
|
||||||
build/$(OS)/core/%.obj: cpp/core/%.cpp build
|
build/$(OS)/core/%.obj: cpp/core/%.cpp build/DIRECTORY
|
||||||
$(MAKEDEPS) $@d -I./ext/eris-master/src -I./cpp/wrap -I./cpp/core $<
|
$(MAKEDEPS) $@d -I./ext/eris-master/src -I./cpp/wrap -I./cpp/core $<
|
||||||
$(COMPILE) $@ -I./ext/eris-master/src -I./cpp/wrap -I./cpp/core $<
|
$(COMPILE) $@ -I./ext/eris-master/src -I./cpp/wrap -I./cpp/core $<
|
||||||
|
|
||||||
build/$(OS)/drv/%.obj: cpp/drv/%.cpp build
|
build/$(OS)/drv/%.obj: cpp/drv/%.cpp build/DIRECTORY
|
||||||
$(MAKEDEPS) $@d $(OPENSSL_INCLUDE) -I./src/drv $<
|
$(MAKEDEPS) $@d $(OPENSSL_INCLUDE) -I./src/drv $<
|
||||||
$(COMPILE) $@ $(OPENSSL_INCLUDE) -I./src/drv $<
|
$(COMPILE) $@ $(OPENSSL_INCLUDE) -I./src/drv $<
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user