CC = gcc CCOPTIONS = /* gcc-only: get rid of system compiler flags */ CDEBUGFLAGS = -funroll-loops -finline-functions -ffast-math -O2 NETREK_BIN = . /* * CONFIGURE: * SysV may require: * -lsocket, -lV3 , -lBSD */ EXTRA_LIBRARIES = $(XLIB) -lm /* * CONFIGURE: * -DSYSV -- SysV * -DSHRINKFRAME -- * -DREALLYFAST -- */ DEFINES = -DSHRINKFRAME -DREALLYFAST /* kludges for older version of imake */ ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(SPECIAL_DEFINES) ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES) MKDIRHIER = $(BINDIR)/mkdirhier TARGET = xsg HEADERS = Wlib.h bitmaps.h copyright.h copyright2.h data.h \ defs.h oldbitmaps.h patchlevel.h struct.h version.h SRCS = colors.c data.c defaults.c dmessage.c getship.c \ inform.c input.c main.c modify.c newwin.c option.c \ planetlist.c planets.c playerlist.c redraw.c \ robotwin.c shmem.c sintab.c smessage.c stats.c \ sysdefaults.c util.c war.c warning.c x11window.c OBJS = colors.o data.o defaults.o dmessage.o getship.o \ inform.o input.o main.o modify.o newwin.o option.o \ planetlist.o planets.o playerlist.o redraw.o \ robotwin.o shmem.o sintab.o smessage.o stats.o \ sysdefaults.o util.o war.o warning.o x11window.o AllTarget($(TARGET)) NormalProgramTarget($(TARGET),$(OBJS),,,) DependTarget() InstallProgram($(TARGET),$(NETREK_BIN))