aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..2c2cf5f
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,11 @@
+CC=gcc
+CFLAGS=-Wall -Wextra -g
+#CFLAGS=-g
+
+rastertoql570: ql570.h ql570.c rastertoql570.h rastertoql570.c
+ rm -f ../rastertoql570
+ $(CC) $(CFLAGS) -lcups -lcupsimage ql570.c rastertoql570.c -o ../rastertoql570
+
+minimal: ql570.h ql570.c examples/minimal.c
+ rm -f ../minimal
+ $(CC) $(CFLAGS) -lcups -lcupsimage ql570.c examples/minimal.c -o ../minimal