#Subject: Re: [gimp] plug-ins #Date: Thu, 17 Jul 1997 07:47:19 +0200 #From: Ciccio # #Here is another way that worked for me. Maybe it's less efficient, but #it helps me to keep the gimp distribution directory clean. I just #make a dir for each plugin, copy a Makefile template there and change #filename(s). All libraries are in the library-path. # #-------- CC = gcc CFLAGS = -O2 LIBS = -lglib -lgtk -lgdk -lgimp -lgimpui -lm PROGRAM = sharpen all: $(PROGRAM) $(PROGRAM): $(PROGRAM).o $(CC) $(CFLAGS) -o $@ $^ $(LIBS) $(PROGRAM).o: $(PROGRAM).c $(CC) $(CFLAGS) -o $@ -c $< clean: rm -f *~ \#* core $(PROGRAM) *.o install: install -s $(PROGRAM) /home/ciccio/.gimp/plug-ins