summaryrefslogtreecommitdiff
path: root/src/xxd
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-10-03 22:12:32 +0200
committerBram Moolenaar <Bram@vim.org>2011-10-03 22:12:32 +0200
commit946c1eeafc01caa8525131f0939b901057221c82 (patch)
tree97edb9d1ac85ff4fa4844548dbf57d2c8ddf5d06 /src/xxd
parent250912918e303cef57cfaa6e1c54aaaac32a9189 (diff)
downloadvim-git-946c1eeafc01caa8525131f0939b901057221c82.tar.gz
Add files aaded by patch 7.3.326.
Diffstat (limited to 'src/xxd')
-rw-r--r--src/xxd/Make_ming.mak28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/xxd/Make_ming.mak b/src/xxd/Make_ming.mak
new file mode 100644
index 000000000..5147e89c1
--- /dev/null
+++ b/src/xxd/Make_ming.mak
@@ -0,0 +1,28 @@
+# The most simplistic Makefile, for MinGW gcc on MS-DOS
+
+ifndef USEDLL
+USEDLL = no
+endif
+
+ifeq (yes, $(USEDLL))
+DEFINES =
+LIBS = -lc
+else
+DEFINES =
+LIBS =
+endif
+
+CC = gcc
+CFLAGS = -O2 -Wall -DWIN32 $(DEFINES)
+
+ifneq (sh.exe, $(SHELL))
+DEL = rm
+else
+DEL = del
+endif
+
+xxd.exe: xxd.c
+ $(CC) $(CFLAGS) -s -o xxd.exe xxd.c $(LIBS)
+
+clean:
+ -$(DEL) xxd.exe