CC=gcc -O2
LD=$(CC) -L/usr/X11R6/lib -static 
LIBS= -lX11 -ljpeg -lm
OBJS=browse.o main.o readjpg.o imdisp.o menu.o docreate.o writejpg.o\
     genlib.o effects.o cursor.o scrbar.o actions.o selmask.o blankim.o\
     selbar.o brushwin.o printps.o readpcx.o size.o report.o guessfor.o\
     undodoc.o colorwin.o clipdoc.o texture.o readscan.o readiim.o\
     writeiim.o wselect.o gamma.o
$(MORE):    $(LD) $(OBJS) $(LIBS) -o main
all: main
main: $(OBJS)
	$(LD) -o main  $(OBJS) $(LIBS)

report: 
	 @echo "Please one of the following:"
	@echo "make main"
