%.tab.h %.tab.c:: %.y $(YACC) $(YFLAGS) $(AM_YFLAGS) -o$@ $< %.lex.c:: %.l $(LEX) $(LFLAGS) $(AM_LFLAGS) -o$@ $< # sed -i 's/\(fwrite(.*)\)/abs(\1)/' $@ AM_CPPFLAGS = -DYY_NO_INPUT $(SDL_CFLAGS) $(WZ_CPPFLAGS) AM_CFLAGS = $(WZ_CFLAGS) AM_CXXFLAGS = $(WZ_CXXFLAGS) AM_LFLAGS = $(FLEX_FLAGS) AM_YFLAGS = -d BUILT_SOURCES = \ resource_lexer.lex.c \ resource_parser.tab.c \ resource_parser.tab.h \ strres_lexer.lex.c \ strres_parser.tab.c \ strres_parser.tab.h CLEANFILES = \ resource_lexer.lex.c \ resource_parser.tab.c \ resource_parser.tab.h \ strres_lexer.lex.c \ strres_parser.tab.c \ strres_parser.tab.h EXTRA_DIST = \ resource_lexer.l resource_parser.y \ strres_lexer.l strres_parser.y noinst_LIBRARIES = libframework.a noinst_HEADERS = \ strres_parser.tab.h \ resource_parser.tab.h \ configfile.h \ crc.h \ cursors.h \ debug.h \ file.h \ fixedpoint.h \ frame.h \ frameint.h \ frameresource.h \ i18n.h \ input.h \ lexer_input.h \ listmacs.h \ math_ext.h \ opengl.h \ physfs_ext.h \ resly.h \ stdio_ext.h \ string_ext.h \ strres.h \ strresly.h \ tagfile.h \ treap.h \ trig.h \ types.h \ utf.h \ vector.h \ config-macosx.h \ endian_hack.h \ gettext.h \ macros.h \ SDL_framerate.h \ wzapp_c.h \ wzglobal.h libframework_a_SOURCES = \ resource_lexer.lex.c \ resource_parser.tab.c \ strres_lexer.lex.c \ strres_parser.tab.c \ configfile.c \ crc.cpp \ cursors16.c \ cursors32.c \ cursors.c \ debug.c \ frame.c \ frameresource.c \ i18n.c \ input.c \ lexer_input.c \ SDL_framerate.c \ stdio_ext.c \ strres.c \ tagfile.c \ treap.c \ trig.c \ utf.c