summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-08-30 21:57:11 +0200
committerAki <please@ignore.pl>2021-08-31 21:37:27 +0200
commit74a89676841f37d83c1ec02c9813fec95d773c55 (patch)
tree5f1f30845e56f7c22cee07c7d0fbeb9432846be4 /Makefile
downloadtext-74a89676841f37d83c1ec02c9813fec95d773c55.zip
text-74a89676841f37d83c1ec02c9813fec95d773c55.tar.gz
text-74a89676841f37d83c1ec02c9813fec95d773c55.tar.bz2
Put together a simple text renderer to a PNG
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b27a35c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+CFLAGS += -Wall -Wextra -Wpedantic
+CFLAGS += `pkg-config --cflags cairo pango pangocairo`
+LDLIBS += -lm `pkg-config --libs cairo pango pangocairo`
+
+all: text
+
+clean:
+ rm -f text *.o
+
+.PHONY: all clean