[misc] Updated install rule.

This commit is contained in:
Solomon Peachy 2012-11-13 16:40:36 -05:00
parent 42ff824594
commit 615b7b60f9
1 changed files with 4 additions and 2 deletions

View File

@ -1,14 +1,16 @@
CFLAGS = -Wall
CUPS_BACKENDS = /usr/lib/cups/backend
all: selphy_print_linux selphy_print_libusb
selphy_print_linux: es_print_linux.c es_print_common.h
gcc -o selphy_print_linux es_print_linux.c $(CFLAGS)
chmod 500 selphy_print_linux
selphy_print_libusb: es_print_libusb.c es_print_common.h
gcc -o selphy_print_libusb es_print_libusb.c -lusb-1.0 $(CFLAGS)
chmod 500 selphy_print_libusb
install -o root -m 700 selphy_print_libusb $(CUPS_BACKENDS)/selphy
rm -f selphy_print*