# # ------ MAKEFILE FOR Linux WEB Using Regular 8 bit Visual ------------------ # # Uses the Portland group compiler and public domain X library # For SGI byte ordering (opposite of native Intel) # # Makefile for WEB system on SGI March 1992 ArDean Leith # Additional modifications - ArDean Leith 2002 # # Use Portland group compiler CC = pgcc # Define compiler flags & header include location for use with PGI compiler # Define cpp variable P_SGIOSF to use byte-swapped images from SGI CFLAGS = -v -DP_SGIOSF -I/usr/X11R6/include/X11 -I/usr/X11R6/LessTif/Motif2.1/include/ PGM = web_linux LIB = $(PGM).a XLIBS = -L/usr/X11R6/lib -lXm -lXt -lX11 -lXmu .PRECIOUS : $(LIB) $(PGM) include Makefile.inc $(PGM) : $(LIB) @echo linking $(PGM) $(CC) $(LIB) -u main $(XLIBS) -lm -v -o $@ $(LIB) : $(ELEMENTS) $(ELEMENTS) : $(CC) -c $(CFLAGS) $*.c $(AR) r $(LIB) $*.o @\rm $*.o