view src/xxd/Make_ming.mak @ 19777:b245e974d42c v8.2.0445

patch 8.2.0445: png and xpm files not in MS-Windows zip file Commit: https://github.com/vim/vim/commit/f66ca9f1df535c8042292ce20f4260cafc877670 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 25 20:17:00 2020 +0100 patch 8.2.0445: png and xpm files not in MS-Windows zip file Problem: Png and xpm files not in MS-Windows zip file. Solution: Move files to shared between Unix and Windows target.
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Mar 2020 20: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