# # Makefile for WEB system on SUN SPARC Oct 95 Mahieddine Ladjadj # # SUN SPARC: # node name: xenopus running Solaris 2.4 # # to set up PATH etc... # source /local/molbio/cshrc_solaris # # # SUN SPARC running Solaris 2.4 # CC = /usr/local/bin/gcc CFLAGS = -DSP_SUNSP -I/usr/openwin/include -I/usr/dt/include -I/usr/ucbinclude LIB = web_sunsparc.a PGM = web_sunsparc .PRECIOUS : $(LIB) $(PGM) include Makefile.inc $(PGM) : $(PGM).o $(LIB) @echo linking $(PGM) $(CC) $(PGM).o $(LIB) -L/usr/openwin/lib -lXm -lXt -lX11 -lm -o $(PGM) # random.o is in -L/usr/ucblib/libucb.a but I don't seem to be able # to link it. $(PGM).o : web.c $(CC) $(CFLAGS) -c web.c -o $(PGM).o $(LIB) : $(ELEMENTS) $(ELEMENTS) : $(CC) $(CFLAGS) -c $(?:.o=.c) $(AR) rv $(LIB) $*.o @\rm -f $*.o