diff options
author | Christian Hesse <mail@eworm.de> | 2013-07-08 17:06:06 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-07-08 17:06:06 +0200 |
commit | 996bbabdd9b490ec1263c8e601001db6b4b17759 (patch) | |
tree | 58fb59ff636d000a02a5a02ccd8f6d9756cc6bf4 | |
parent | 6684ecfe31257bd15d2e3f54142bbc40add30ba3 (diff) | |
download | cqrlogo-996bbabdd9b490ec1263c8e601001db6b4b17759.tar.gz cqrlogo-996bbabdd9b490ec1263c8e601001db6b4b17759.tar.zst |
update Makefile
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,8 @@ # cqrlogo - CGI QR-Code logo for web services CC := gcc +INSTALL := install +RM := rm CFLAGS += -O2 -Wall -Werror CFLAGS += $(shell pkg-config --cflags --libs gdk-pixbuf-2.0) \ $(shell pkg-config --cflags --libs libqrencode) @@ -8,5 +10,8 @@ CFLAGS += $(shell pkg-config --cflags --libs gdk-pixbuf-2.0) \ all: cqrlogo.c $(CC) $(CFLAGS) -o cqrlogo cqrlogo.c +install: + $(INSTALL) -D -m0755 cqrlogo $(DESTDIR)/usr/share/webapps/cqrlogo/cqrlogo + clean: - /bin/rm -f *.o *~ cqrlogo + $(RM) -f *.o *~ cqrlogo |