selphy_print/Makefile

25 lines
515 B
Makefile
Raw Normal View History

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
DEPS = backend_common.h
SOURCES = sony_updr150_print.c kodak6800_print.c backend_common.c
2012-10-27 10:22:12 -04:00
all: gutenprint sonyupdr150 kodak6800
gutenprint: $(SOURCES) $(DEPS)
gcc -o $@ $(SOURCES) $(LDFLAGS) $(CFLAGS)
sonyupdr150:
ln -s gutenprint $@
kodak6800:
ln -s gutenprint $@
install:
install -o root -m 700 gutenprint $(CUPS_BACKEND_DIR)/gutenprint+usb
clean:
rm -f gutenprint canonselphy kodak6800 kodak1400 shinkos2145 sonyupdr150