Mercurial > vim
view src/xxd/Make_ming.mak @ 8330:ec940c11f749 v7.4.1457
commit https://github.com/vim/vim/commit/d42119fff228434fe57e88d501c744de0a9fb1b1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 28 20:51:49 2016 +0100
patch 7.4.1457
Problem: Opening a channel with select() is not done properly.
Solution: Also used read-fds. Use getsockopt() to check for errors. (Ozaki
Kiichi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 28 Feb 2016 21:00:04 +0100 |
parents | a82b2d79e61b |
children |
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