# Hugh Fisher / Ingrid Jakobsen 1995 # Makefile for X plot version of reticulate # The program uses prototypes, and needs an ANSI-C compatible compiler # GNU C compiler is readily available CC = gcc # Sun OS 4.1.3 ANSI C compatible compiler if available # CC = acc # Silicon Graphics default compiler # CC = cc # CFLAGS need to be set to the path to the X11/include directories. # This varies from system to system. Some possibilities are shown below. # CFLAGS = -I/usr/include/X11 # CFLAGS = -I/usr/openwin/include # CFLAGS = -I/usr/local/X11/include # LIBS needs to include the X11 library LIBS = -lX11 LDFLAGS = -L/usr/openwin/lib OBJS = XPlot.o reticulate: $(OBJS) reticulate.c $(CC) $(CFLAGS) reticulate.c -o reticulate $(OBJS) $(LDFLAGS) $(LIBS) XPlot.o: XPlot.h