# makefile for imagesort. you will probably only need to change the # settings for where some of the libraries are if your system doesn't # have them in easily available places. check the CFLAGS line # root of your X installatiion XDIR = /usr/X11R6 # you may need to change this if you lack gcc (in which case you may # not be able to compile at all # you'll probably have to dick with the libs, depending on how your imlib # is compiled. We default to including all of the extras supported by # imlib 1.9 LIBS = -lX11 -lXext -lImlib -ljpeg -lm -lpng -ltiff -lz -lungif #LIBS = -lImlib -lX11 -lXext -ljpeg -lgif -lm CFLAGS += -L$(LOCALBASE)/lib -L$(X11BASE)/lib -I$(X11BASE)/include all: imagesort.o imagesort.o: $(CC) $(CFLAGS) imagesort.c $(LIBS) -o imagesort