diff options
author | Christian Hesse <mail@eworm.de> | 2013-07-09 12:55:30 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-07-09 12:55:30 +0200 |
commit | ddf2ff6ae6617609056680c91676322c70690716 (patch) | |
tree | 3239a436ce96254777cec8157e7f3b3d49c823b8 /Makefile | |
parent | c805bd7f26f938e697446048318b719bfb6762ab (diff) | |
download | cqrlogo-0.1.6.tar.gz cqrlogo-0.1.6.tar.zst |
add config file0.1.6
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,14 +2,17 @@ CC := gcc INSTALL := install +CP := cp RM := rm CFLAGS += -O2 -Wall -Werror CFLAGS += $(shell pkg-config --cflags --libs gdk-pixbuf-2.0) \ $(shell pkg-config --cflags --libs libqrencode) -all: cqrlogo.c +all: cqrlogo.c config.h $(CC) $(CFLAGS) -o cqrlogo cqrlogo.c +config.h: + $(CP) config.def.h config.h install: $(INSTALL) -D -m0755 cqrlogo $(DESTDIR)/usr/share/webapps/cqrlogo/cqrlogo |