Mercurial > vim
view src/xxd/Make_ming.mak @ 7697:f04e2b6feea2 v7.4.1147
commit https://github.com/vim/vim/commit/88e8f9f14434a7cd538d0c159dc432bea869a5bd
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 20 22:48:02 2016 +0100
patch 7.4.1147
Problem: Conflict for "chartab". (Kazunobu Kuriyama)
Solution: Rename the global one to something less obvious. Move it into
src/chartab.c.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 20 Jan 2016 23:00:12 +0100 |
parents | a82b2d79e61b |
children | 3835b742025e |
line wrap: on
line source
# The most simplistic Makefile, for MinGW and Cygwin 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