2012-10-27 10:22:12 -04:00
|
|
|
CFLAGS = -Wall
|
2013-06-27 22:45:50 -04:00
|
|
|
LDFLAGS = -lusb-1.0
|
2012-10-27 10:22:12 -04:00
|
|
|
|
2013-06-27 22:45:50 -04:00
|
|
|
CUPS_BACKEND_DIR = /usr/lib/cups/backend
|
2013-07-18 18:03:40 -04:00
|
|
|
DEPS = backend_common.h
|
|
|
|
SOURCES = sony_updr150_print.c kodak6800_print.c backend_common.c
|
2012-10-27 10:22:12 -04:00
|
|
|
|
2013-07-18 18:03:40 -04:00
|
|
|
all: gutenprint sonyupdr150 kodak6800
|
2013-07-18 08:46:44 -04:00
|
|
|
|
2013-07-18 18:03:40 -04:00
|
|
|
gutenprint: $(SOURCES) $(DEPS)
|
|
|
|
gcc -o $@ $(SOURCES) $(LDFLAGS) $(CFLAGS)
|
2013-07-06 10:14:06 -04:00
|
|
|
|
2013-07-18 12:51:05 -04:00
|
|
|
sonyupdr150:
|
|
|
|
ln -s gutenprint $@
|
2013-07-14 15:55:35 -04:00
|
|
|
|
2013-07-18 18:03:40 -04:00
|
|
|
kodak6800:
|
|
|
|
ln -s gutenprint $@
|
|
|
|
|
|
|
|
|
2013-07-06 11:03:49 -04:00
|
|
|
install:
|
2013-07-18 12:51:05 -04:00
|
|
|
install -o root -m 700 gutenprint $(CUPS_BACKEND_DIR)/gutenprint+usb
|
2012-11-13 16:32:53 -05:00
|
|
|
|
|
|
|
clean:
|
2013-07-18 12:51:05 -04:00
|
|
|
rm -f gutenprint canonselphy kodak6800 kodak1400 shinkos2145 sonyupdr150
|