# Makfile # OPTS=-g OBJ=galax CC=cc # Paths to X11 includes and libraries. Edit as appropriate for your system # DIRS=-L/usr/openwin/lib -I/usr/openwin/include -L/usr/X11R6/lib -I/usr/local/include -L/usr/local/lib -I/usr/X11/include -L/usr/X11/lib # Add on -lsocket for solaris 2 (and perhaps other SysV's) # LIB=-lXext -lX11 -lm ALL: $(OBJ) $(OBJ): Xbit.o $(OBJ).o $(CC) $(OPTS) $(DIRS) -o $(OBJ) $(OBJ).o Xbit.o $(LIB) $(OBJ).o: Xbit.h $(OBJ).c $(CC) $(OPTS) $(DIRS) -c $(OBJ).c Xbit.o: Xbit.c Xbit.h fontset.h $(CC) $(OPTS) $(DIRS) -c Xbit.c clean: rm -f Xbit.o $(OBJ).o $(OBJ) core hisc.gal