# This Makefile.am is processed by the gnu autotools # See http://socgsa.cs.clemson.edu/seminar/tools06/resources/08_autotools/automake.htm # for a nice introduction with examples. # Automake has some keywords # and does all the rest for us. # General CFLAGS WARNINGS = -Wall -W -Wconversion -Wshadow AM_CFLAGS = $(WARNINGS) bin_PROGRAMS = mcserver mcserver_SOURCES = mcserver.c mcserver_CFLAGS = $(WARNINGS) -pthread mcserver_LDFLAGS = -ldim -lpthread mcserver.c: mc.h moduledir=/lib/modules/2.4.21-rmk1-dcs1 dist_module_DATA = memcheck.o .PHONY: ipkg ipkg: rm Makefile ipkg/rules configure fakeroot ipkg-buildpackage