# $Id$ CC = @CC@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ NAME = ui OBJS = motif.o .PHONY: all clean .SUFFIXES: .c .o all: ../Library/libfb$(NAME).so ../Library/libfb$(NAME).so: $(OBJS) mkdir -p ../Library $(CC) $(LDFLAGS) -shared -o $@ $(OBJS) $(LIBS) .c.o: $(CC) $(CFLAGS) -c -fPIC -o $@ $< clean: rm -f ../Library/*.so *.o