aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/examples/windows-pipe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/examples/windows-pipe/Makefile')
-rw-r--r--contrib/examples/windows-pipe/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/examples/windows-pipe/Makefile b/contrib/examples/windows-pipe/Makefile
new file mode 100644
index 0000000..cff89b4
--- /dev/null
+++ b/contrib/examples/windows-pipe/Makefile
@@ -0,0 +1,8 @@
+CC := x86_64-w64-mingw32-gcc
+CFLAGS ?= -O3
+CFLAGS += -Wall
+enumerate-and-get.exe: enumerate-and-get.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $<
+clean:
+ rm -f enumerate-and-get.exe
+.PHONY: clean