3 SRCS
= lel_main.c lel_debug.c lel_util.c lel_instance.c
6 CFLAGS
+= ${LUA_INC} -ggdb
-O0
-fPIC
13 .PHONY
: all test clean install
17 $(CC
) ${CFLAGS} -o
$@
-shared
$^
$(LIBS
)
19 ${OBJS}: %.o
: %.c Makefile
20 ${CC} ${CFLAGS} -o
$@
-c
$<
26 -rm -f
${TARGET} ${OBJS}
30 ${INSTALL} -d
${CORE_LIB_DIR}
31 ${INSTALL} -b
-t
${CORE_LIB_DIR} ${TARGET}
33 install-user
: ${TARGET}
34 ${INSTALL} -d
${HOME_CORE}
35 ${INSTALL} -m
0744 -b
-t
${HOME_CORE} ${TARGET}