Mercurial > vim
view src/xxd/Make_ming.mak @ 29094:1fe2d79f7309 v8.2.5068
patch 8.2.5068: gcc 12.1 warning when building tee
Commit: https://github.com/vim/vim/commit/68093d36bf87caf2c2ba7404c06d14ef8416c27a
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 8 13:11:45 2022 +0100
patch 8.2.5068: gcc 12.1 warning when building tee
Problem: Gcc 12.1 warning when building tee.
Solution: Change type to size_t. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 Jun 2022 14:15:02 +0200 |
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