From ce330147acca10cd66c370847bdc3e824a83a0c6 Mon Sep 17 00:00:00 2001 From: Leo Howell Date: Thu, 8 Oct 2009 16:41:56 +0900 Subject: add qrgen sample app --- lpg/libqr/Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'lpg/libqr/Makefile') 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 -- cgit v1.2.3-70-g09d2