prepare for the DOS port
[retroray] / libs / drawtext / GNUmakefile
diff --git a/libs/drawtext/GNUmakefile b/libs/drawtext/GNUmakefile
new file mode 100644 (file)
index 0000000..996cfd2
--- /dev/null
@@ -0,0 +1,14 @@
+obj = font.o draw.o drawgl.o drawrast.o utf8.o
+alib = ../unix/drawtext.a
+
+CFLAGS = -O3 -g -DNO_FREETYPE -DNO_OPENGL
+
+$(alib): $(obj)
+       $(AR) rcs $@ $(obj)
+
+.c.o:
+       $(CC) $(CFLAGS) -c $< -o $@
+
+.PHONY: clean
+clean:
+       rm -f $(obj) $(alib)