SHELL = /bin/sh VPATH = @srcdir@ subdirs = @subdirs@ top_srcdir = @top_srcdir@ srcdir = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = $(exec_prefix)/bin infodir = $(prefix)/info libdir = $(prefix)/lib/gnudl mandir = $(prefix)/man/man1 CC = @CXX@ CPPFLAGS = -Wall @CPPFLAGS@ CFLAGS = $(CPPFLAGS) @CFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ INSTALL = @INSTALL@ SRCS = aClient.cpp \ config.cpp \ c_forest.cpp \ gameserv.cpp \ log.cpp \ player.cpp \ sockhelp.cpp \ tcpclient.cpp OBJS = ${SRCS:.cpp=.o} all: gameserv clean: /bin/rm -f *.o distclean: clean /bin/rm -f Makefile config.h config.status config.cache config.log \ options.h gameserv .config .gstimestamp gameserv: $(OBJS) $(CC) -o $@ $(OBJS) $(LIBS) .cpp.o: $(CC) $(CFLAGS) -c $< depend: $(CC) -MM $(CFLAGS) $(SRCS) > .depend configscript: configscript.o $(CC) -o .config configscript.o # Catch any changes in the Makefile, everything depends on it. $(OBJS): Makefile include .depend