# June 1999 # # Makefile for Saphira applications # ####################################################3 # # Revised June 2000 by Susan Fox for her application # SHELL = /bin/sh ############################################################# COMPD = ./ #SRCD = ./ #OBJD = ./ INCD = $(SAPHIRA)/handler/include/ LIBD = $(SAPHIRA)/handler/obj/ COLBERT = $(SAPHIRA)/colbert/ # find out which OS we have include $(SAPHIRA)/handler/include/os.h CFLAGS = -g -D$(CONFIG) $(PICFLAG) NEWCFLAGS = -D$(CONFIG) -fPIC -shared CC = gcc INCLUDE = -I$(INCD) -I$(X11D)include ############################################################# # all: foo all: testclient clean: rm *.o *~ foo: foo.c $(CC) -rdynamic -o foo foo.c -ldl # # Susan's test client # testclient.o: testclient.c $(CC) $(CFLAGS) -c testclient.c $(INCLUDE) -o testclient.o testclient: testclient.o $(CC) testclient.o -o testclient -L$(LIBD) -lsf -L$(MOTIFD)lib $(LLIBS) -lc -lm # # Susan's test program # test1.so: test1.c cc $(NEWCFLAGS) -c test1.c -o test1.so