warzone2100/lib/gamelib/Makefile.am

21 lines
651 B
Makefile
Raw Normal View History

%.tab.h %.tab.c: %.y
$(YACC) $(YFLAGS) $(AM_YFLAGS) -o$@ $<
%.lex.c: %.l
$(LEX) $(LFLAGS) $(AM_LFLAGS) -o$@ $<
AM_LFLAGS = $(FLEX_FLAGS)
AM_YFLAGS = -d
AM_CPPFLAGS = -I$(top_srcdir)
BUILT_SOURCES = audp_parser.tab.h
noinst_LIBRARIES = libgamelib.a
noinst_HEADERS = ani.h anim.h animobj.h gtime.h hashtabl.h maxpidef.h parser.h \
pqueue.h priority.h ptrlist.h
libgamelib_a_SOURCES = anim.c animobj.c audp_lexer.lex.c audp_parser.tab.c \
gtime.c hashtabl.c pqueue.c ptrlist.c
libgamelib_a_LIBADD = $(top_builddir)/lib/ivis_opengl/libivis_opengl.a \
$(top_builddir)/lib/ivis_common/libivis_common.a $(top_builddir)/lib/framework/libframework.a