# 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
CC = gcc

# 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 -lgif
#LIBS = -lImlib -lX11 -lXext -ljpeg -lgif -lm

CFLAGS = -g -L$(XDIR)/lib -I$(XDIR)/include 

all: imagesort.o

imagesort.o: 
	$(CC) $(CFLAGS) imagesort.c $(LIBS) -o imagesort

