Fix bug in new makefile
This commit is contained in:
@@ -23,6 +23,7 @@ else
|
|||||||
DRIVER=driver-xxx
|
DRIVER=driver-xxx
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
LUA_OBJ_FILES=\
|
LUA_OBJ_FILES=\
|
||||||
lobj/lapi.o \
|
lobj/lapi.o \
|
||||||
lobj/lcode.o \
|
lobj/lcode.o \
|
||||||
@@ -98,7 +99,7 @@ lobj/%.o: ../eris-master/src/%.c
|
|||||||
gcc -Wall $(OPT) -DLUA_USE_APICHECK $(LUAFLAGS) -c -MMD $< -o $@
|
gcc -Wall $(OPT) -DLUA_USE_APICHECK $(LUAFLAGS) -c -MMD $< -o $@
|
||||||
|
|
||||||
obj/%.o: cpp/%.cpp
|
obj/%.o: cpp/%.cpp
|
||||||
g++ -std=c++17 -Wall $(OPT) -Iinc -Icpp -c -MMD $< -o $@
|
g++ -std=c++17 -Wall $(OPT) -I../eris-master/src -Icpp -c -MMD $< -o $@
|
||||||
|
|
||||||
|
|
||||||
$(EXE): $(CORE_OBJ_FILES) $(LUA_OBJ_FILES)
|
$(EXE): $(CORE_OBJ_FILES) $(LUA_OBJ_FILES)
|
||||||
|
|||||||
Reference in New Issue
Block a user