BUILT_SOURCES = lua-token.h lua-token.c
DISTCLEANFILES = $(BUILT_SOURCES)
-.cpkg.c: ; ./luapkg2c.pl -c $< > $@
-.cpkg.h: ; ./luapkg2c.pl -h $< > $@
+.cpkg.c: ; ./luapkg2c.pl -c $< > $@
+.cpkg.li: ; ./luapkg2c.pl -h $< > $@
noinst_LIBRARIES = liblua.a
-liblua_a_DEPENDENCIES = madmutt.h
+liblua_a_DEPENDENCIES = madmutt.li
liblua_a_SOURCES = madmutt.cpkg \
lib-lua.h \
runtime.c \