view src/xxd/Make_ming.mak @ 16758:bb4071e79ade v8.1.1381

patch 8.1.1381: MS-Windows: missing build dependency commit https://github.com/vim/vim/commit/d22a6f8aaf4dbffc9254965e39e031914dbc495a Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 24 17:17:54 2019 +0200 patch 8.1.1381: MS-Windows: missing build dependency Problem: MS-Windows: missing build dependency. Solution: Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata, closes #4423
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 May 2019 17:30:05 +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