OPTIMISE= -O2 WERROR= -Werror WARNINGS= -Wall -Wwrite-strings -Wpointer-arith -Wmissing-prototypes \ -Wstrict-prototypes -Wno-format-zero-length DEBUG=-g CFLAGS += $(WARNINGS) $(WERROR) $(OPTIMISE) $(DEBUG) TARGETS= convert x-manip-window all: $(TARGETS) CONVERT_OBJS= convert.o ocr.o pages.o structure.o convert: $(CONVERT_OBJS) -lnetpbm -lXtst -lX11 $(CONVERT_OBJS): ocr.h convert.h structure.h x-manip-window: -lXtst -lX11 clean: rm -f $(TARGETS) *.o core core.*