# C compiler options CC = @CC@ CFLAGS = @CFLAGS@ LIBS = @LIBS@ # Source files SRCS = common.c rastertohp.c textcommon.c texttohp.c # Object files OBJS = $(SRCS:.c=.o) # Make everything all: rastertohp texttohp # Make the rastertohp application rastertohp: rastertohp.o $(CC) $(CFLAGS) -o rastertohp rastertohp.o -lcupsimage $(LIBS) -lm # Make the texttohp application texttohp: texttohp.o textcommon.o common.o $(CC) $(CFLAGS) -o texttohp texttohp.o textcommon.o common.o $(LIBS) # Dependencies $(OBJS): config.h Makefile