aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/Makefile
diff options
context:
space:
mode:
authorLeo Howell <leo@lwh.jp>2009-10-08 16:41:56 +0900
committerLeo Howell <leo@lwh.jp>2009-10-08 16:41:56 +0900
commitce330147acca10cd66c370847bdc3e824a83a0c6 (patch)
treebb9dd881daacfe1dff656371df6d2292bcbd7658 /lpg/libqr/Makefile
parent6359bfddcc5868093418784fa2e972581ebd82b6 (diff)
downloadpdf-simple-sign-ce330147acca10cd66c370847bdc3e824a83a0c6.tar.gz
pdf-simple-sign-ce330147acca10cd66c370847bdc3e824a83a0c6.tar.xz
pdf-simple-sign-ce330147acca10cd66c370847bdc3e824a83a0c6.zip
add qrgen sample app
Diffstat (limited to 'lpg/libqr/Makefile')
-rw-r--r--lpg/libqr/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/lpg/libqr/Makefile b/lpg/libqr/Makefile
index 5eba18b..19e8791 100644
--- a/lpg/libqr/Makefile
+++ b/lpg/libqr/Makefile
@@ -1,12 +1,11 @@
OBJECTS := code-common.o \
- code-create.o \
- code-layout.o \
- code-parse.o \
- data-common.o \
- data-create.o \
- data-parse.o \
+ code-create.o \
+ code-layout.o \
+ code-parse.o \
+ data-common.o \
+ data-create.o \
+ data-parse.o \
qr-bitmap.o \
- qr-bitmap-pbm.o \
qr-bitmap-render.o \
qr-bitstream.o \
qr-mask.o \
@@ -16,15 +15,16 @@ CFLAGS := -std=c89 -pedantic -I. -Wall
CFLAGS += -g
#CFLAGS += -O3 -DNDEBUG
-all : libqr test
+all : libqr qrgen
$(OBJECTS) : $(wildcard *.h qr/*.h)
libqr : libqr.a($(OBJECTS))
-test : libqr.a test.c
+qrgen : libqr qrgen.c
+ $(CC) $(CFLAGS) -o qrgen qrgen.c libqr.a
.PHONY : clean
clean:
- $(RM) qr/*~ *~ *.o *.a *.so test
+ $(RM) qr/*~ *~ *.o *.a *.so qrgen