Mercurial > vim
view src/xxd/Make_ming.mak @ 29241:1690417aeafe v8.2.5139
patch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf
Commit: https://github.com/vim/vim/commit/300d71881957f8e60e48eda19002ce5e25fd9c06
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 20 12:01:10 2022 +0100
patch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf
Problem: TIME_WITH_SYS_TIME is no longer supported by autoconf.
Solution: Always include time.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Jun 2022 13:15:03 +0200 |
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