Mercurial > vim
view src/xxd/Make_ming.mak @ 26282:71bdede8afd8 v8.2.3672
patch 8.2.3672: build failure with unsigned char
Commit: https://github.com/vim/vim/commit/71b36206be14c3b6334765d44a38d413eca751c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 25 13:26:19 2021 +0000
patch 8.2.3672: build failure with unsigned char
Problem: Build failure with unsigned char.
Solution: Use int instead of char.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 25 Nov 2021 14:30: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