# Generated automatically from Makefile.in by configure. # ----------------------------------------------------------------------- # Copyright 1995 Alex Hornby # ----------------------------------------------------------------------- srcdir = . prefix=/usr/local exec_prefix=${prefix} INSTALL= CC=gcc # ----------------------------------------------------------------------- # This is the directory the X resource file is copied to. # ----------------------------------------------------------------------- XAPPLOADDIR=${exec_prefix}/lib/X11/app-defaults # ---------------------------------------------------------------------- # Spew printfs every where # ---------------------------------------------------------------------- verbose= -DVerbose=1 # ----------------------------------------------------------------------- # Where are the graphics, sounds etc? in the datadir! # ----------------------------------------------------------------------- # ----------------------------------------------------------------------- # Name object files # ----------------------------------------------------------------------- OBJS= raster.o dos_disp.o table.o misc.o txt_debug.o files.o\ vmachine.o no_mouse.o dbg_mess.o \ memory.o cpu.o main.o dos_keyb.o limiter.o exmacro.o keyboard.o\ collision.o options.o tiasound.o no_sound.o no_ui.o dos_joy.o options = $(verbose) $(libdef) CDEBUGFLAGS = -Wall -m486 CCOPTIONS = $(options) -Wall -pipe $(profile) MY_CFLAGS=$(CDEBUGFLAGS) TRANSFORM=s,x,x, TARGET=v2600 PROGRAMS=$(TARGET) all: $(PROGRAMS) LOCAL_LIBRARIES = -lalleg -lm # ----------------------------------------------------------------------- # Don't change anything below the line unless you know what you are doing. # ----------------------------------------------------------------------- .c.o: $(CC) $(MY_CFLAGS) -c $< $(TARGET): $(OBJS) $(CC) $(MY_CFLAGS) $(OBJS) -o $(TARGET) $(LOCAL_LIBRARIES) backup: clean tar cvf - . | gzip -9 > ~/v2600-backup.tgz rcs: ci config.in *.c *.h mostlyclean: clean clean: -rm *.exe *.o *~ $(TARGET) distclean: clean -rm version.h config.cache config.h config.log configure.scan maintainer-clean: distclean @echo "This command is intended for maintainers to use; it" @echo "deletes files that may require special tools to rebuild." distdir=$(TARGET)-0.80 bindist: $(TARGET) if test -d ../$(distdir); then\ echo "Binary distribution already exists!";\ exit 1;\ else \ strip ./v2600;\ mkdir ../$(distdir);\ cp v2600 v2600.man V2600 CREDITS COPYING README* *.lsm ../$(distdir);\ cd .. && tar cvf - $(distdir) | gzip -9 > \ $(TARGET)bin-0.80.tar.gz;\ fi dist: if test -d ../$(distdir); then\ echo "Source distribution already exists!";\ exit 1;\ else \ mkdir ../$(distdir);\ cp *.c *.h V2600 v2600.man stamp-h.in Makefile.in config.h.in \ install-sh configure.in configure CREDITS COPYING \ README* config.sub config.guess *.lsm ../$(distdir);\ chmod -R +rw ../$(distdir);\ cd .. && tar cvf - $(distdir) | gzip -9 > \ $(TARGET)src-0.80.tar.gz;\ fi dosdist: if test -d ../$(distdir); then\ echo "Source distribution already exists!";\ exit 1;\ else \ mkdir ../$(distdir);\ cp *.c *.h V2600 v2600.man stamp-h.in Makefile Makefile.in config.h.in \ install-sh configure.in configure CREDITS COPYING \ README* config.sub config.guess *.lsm ../$(distdir);\ chmod -R +rw ../$(distdir);\ cd .. && tar cvf - $(distdir) | gzip -9 > \ $(TARGET)dos-0.80.tar.gz;\ fi # ----------------------------------------------------------------------- # Configure rules # ----------------------------------------------------------------------- ${srcdir}/configure: configure.in cd ${srcdir} && autoconf # autoheader might not change config.h.in so touch a stamp file ${srcdir}/config.h.in: stamp-h.in ${srcdir}/stamp-h.in: configure.in acconfig.h cd ${srcdir} && autoheader echo timestamp > ${srcdir}/stamp-h.in config.h: stamp-h stamp-h: config.h.in config.status CONFIG_FILES= CONFIG_HEADERS=config.h ./config.status echo timstamp > stamp-h Makefile: Makefile.in config.status CONFIG_FILES=Makefile CONFIG_HEADERS= ./config.status config.status: configure ./config.status --recheck # ----------------------------------------------------------------------- # Install rules # ----------------------------------------------------------------------- install: -s $(TARGET) ${exec_prefix}/bin/`echo $(TARGET)|sed '$(TRANSFORM)'` V2600 $(XAPPLOADDIR) v2600.man ${prefix}/man/man1/v2600.1 uninstall: -rm ${exec_prefix}/bin/`echo $(TARGET)|sed '$(TRANSFORM)'` -rm $(XAPPLOADDIR)/V2600