1## Process this file with automake to produce Makefile.in 2 3CCLD=$(NATIVECC) 4#EXEEXT= 5AM_YFLAGS= -d 6AM_CPPFLAGS= -I$(top_builddir)/include -I$(top_srcdir)/include -I$(srcdir) -I. 7 8# override any cross compilation target flags 9CFLAGS=-Wall 10LDFLAGS= 11LIBS= 12 13.c.o: 14 $(NATIVECC) $(AM_CPPFLAGS) -c $< 15 16bin_PROGRAMS = rp2gen 17 18rp2gen_SOURCES = rp2main.c rp2gen_parser.y rp2gen_lexer.l symtab.c crout.c \ 19 util.c rp2.h rp2gen_parser.h 20 21CLEANFILES = rp2gen_parser.c rp2gen_parser.h rp2gen_lexer.c 22MAINTAINERCLEANFILES = Makefile.in 23 24rp2gen_parser.h: rp2gen_parser.c 25rp2gen_lexer.c: rp2gen_parser.h 26 27# some systems don't have stdint.h, the generated lexer.c file won't compile 28dist-hook: 29 -$(RM) $(distdir)/rp2gen_lexer.c 30 31