CCFLAGS = -c -std=gnu99 -O3 -I../.. -I../../include -DHAVE_CONFIG_H -mthrowback -mpoke-function-name

SRC = array.c bit-ops.c channel.c color.c color-conversions.c curve.c curve-cache.c dither-ed.c \
      dither-eventone.c dither-inks.c dither-main.c dither-ordered.c dither-predithered.c \
      dither-very-fast.c escp2-channels.c escp2-driver.c escp2-inks.c escp2-papers.c \
      escp2-resolutions.c generic-options.c image.c module.c mxml-attr.c mxml-file.c mxml-node.c \
      mxml-search.c path.c print-canon.c print-color.c print-dither-matrices.c print-escp2.c \
      print-escp2-data.c print-lexmark.c print-list.c print-olympus.c print-papers.c print-pcl.c \
      print-ps.c print-raw.c print-util.c print-vars.c print-version.c print-weave.c printers.c \
      sequence.c string-list.c xml.c buffer-image.c

OBJS = array.o bit-ops.o channel.o color.o color-conversions.o curve.o curve-cache.o dither-ed.o \
      dither-eventone.o dither-inks.o dither-main.o dither-ordered.o dither-predithered.o \
      dither-very-fast.o escp2-channels.o escp2-driver.o escp2-inks.o escp2-papers.o \
      escp2-resolutions.o generic-options.o image.o module.o mxml-attr.o mxml-file.o mxml-node.o \
      mxml-search.o path.o print-canon.o print-color.o print-dither-matrices.o print-escp2.o \
      print-escp2-data.o print-lexmark.o print-list.o print-olympus.o print-papers.o print-pcl.o \
      print-ps.o print-raw.o print-util.o print-vars.o print-version.o print-weave.o printers.o \
      sequence.o string-list.o xml.o buffer-image.o

libgutenprint.o: $(OBJS) Makefile
	libfile -o -c libgutenprint.o $(OBJS)

.SUFFIXES: .s .c .o
.c.o:;	gcc $(CCFLAGS) -o $*.o $*.c

# Dynamic dependencies:
