Files
integration/luprex/core/Makefile

34 lines
608 B
Makefile
Raw Normal View History

2021-01-23 14:44:06 -05:00
2021-01-23 16:10:29 -05:00
CXX=g++ -std=c++17 -Wall -g -Iinc -Icpp
2021-01-23 14:44:06 -05:00
CPP_FILES=\
cpp/invocation.cpp\
2021-07-18 17:48:39 -04:00
cpp/spookyv2.cpp\
2021-01-23 16:10:29 -05:00
cpp/util.cpp\
cpp/luastack.cpp\
cpp/traceback.cpp\
cpp/planemap.cpp\
cpp/luaconsole.cpp\
cpp/idalloc.cpp\
cpp/globaldb.cpp\
2021-02-18 17:21:25 -05:00
cpp/sched.cpp\
2021-01-23 16:10:29 -05:00
cpp/table.cpp\
2021-02-07 13:38:29 -05:00
cpp/gui.cpp\
2021-02-09 17:15:54 -05:00
cpp/luasnap.cpp\
2021-01-23 16:10:29 -05:00
cpp/animqueue.cpp\
cpp/streambuffer.cpp\
2021-01-23 16:10:29 -05:00
cpp/source.cpp\
cpp/world.cpp\
cpp/textgame.cpp\
cpp/main.cpp
2021-01-23 14:44:06 -05:00
2021-01-23 16:10:29 -05:00
OBJ_FILES=$(patsubst cpp/%.cpp,obj/%.o,$(CPP_FILES))
2021-01-23 14:44:06 -05:00
2021-01-23 16:10:29 -05:00
obj/%.o: cpp/%.cpp
2021-01-23 14:44:06 -05:00
$(CXX) -c -MMD $< -o $@
main.exe: $(OBJ_FILES)
2021-02-28 13:34:56 -05:00
$(CXX) -o main.exe $(OBJ_FILES) -Llib lib/liblua-dbg.a
2021-01-23 14:44:06 -05:00
-include $(OBJ_FILES:%.o=%.d)