aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/Makefile')
-rw-r--r--lpg/libqr/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/lpg/libqr/Makefile b/lpg/libqr/Makefile
new file mode 100644
index 0000000..e36b09f
--- /dev/null
+++ b/lpg/libqr/Makefile
@@ -0,0 +1,25 @@
+OBJECTS := bitstream.o \
+ code-common.o \
+ code-create.o \
+ code-parse.o \
+ code-render.o \
+ data-common.o \
+ data-create.o \
+ data-parse.o
+
+CFLAGS := -std=c89 -pedantic -I. -Wall
+CFLAGS += -g
+#CFLAGS += -O3 -DNDEBUG
+
+all : libqr test
+
+$(OBJECTS) : $(wildcard *.h qr/*.h)
+
+libqr : libqr.a($(OBJECTS))
+
+test : libqr.a test.c
+
+.PHONY : clean
+clean:
+ $(RM) qr/*~ *~ *.o *.a *.so test
+