forked from mia/Aegisub
f6a2ac08a6
$(subst .c,.o,...) replaces '.c' with '.o' everywhere in pathnames. For example, renaming the "Aegisub" folder to "Aegisub.cool" will make the build system generate "Aegisub.oool/.../.o" objects. https://www.gnu.org/software/make/manual/make.html#Text-Functions
8 lines
208 B
Makefile
8 lines
208 B
Makefile
include $(dir $(lastword $(MAKEFILE_LIST)))../../header.mk
|
|
|
|
luabins_OBJ := $(patsubst %.c,%.o,$(sort $(wildcard $(d)src/*.c)))
|
|
luabins_CPPFLAGS := $(CFLAGS_LUA)
|
|
|
|
LIB += luabins
|
|
|
|
include $(TOP)Makefile.target
|