summaryrefslogtreecommitdiff
path: root/win/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'win/makefile')
-rw-r--r--win/makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/win/makefile b/win/makefile
new file mode 100644
index 0000000..fc6ebc0
--- /dev/null
+++ b/win/makefile
@@ -0,0 +1,14 @@
+CC = gcc
+CFLAGS = -Wall -I.
+CFLAGS += -fdiagnostics-color=never -std=c89
+LDFLAGS = -L. -lhyphen
+DLL = libhyphen.a
+out = hyp
+
+all: $(out)
+
+.c:
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(DLL)
+
+clean:
+ rm -f $(out)