aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f9942eb
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+all: sfnt2woff woff2sfnt
+
+sfnt2woff: sfnt2woff.o woff.o woff.h Makefile
+ $(CC) $(LDFLAGS) -o $@ $< woff.o -lz
+
+woff2sfnt: woff2sfnt.o woff.o woff.h Makefile
+ $(CC) $(LDFLAGS) -o $@ $< woff.o -lz
+
+sfnt2woff.o: sfnt2woff.c woff.h Makefile
+
+woff2sfnt.o: woff2sfnt.c woff.h Makefile
+
+woff.o: woff.c woff.h woff-private.h Makefile
+
+clean:
+ $(RM) -r *.o *.dSYM