view src/xxd/Make_cyg.mak @ 7066:094c8ccdc279 v7.4.845

commit https://github.com/vim/vim/commit/5df1ed2de3fa9dcace996b9a0a4c9b3cea79cf1e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 1 16:25:34 2015 +0200 patch 7.4.845 Problem: Compiler warning for possible loss of data. Solution: Add a type cast. (Erich Ritz)
author Christian Brabandt <cb@256bit.org>
date Tue, 01 Sep 2015 16:30:03 +0200
parents 0978e99043d2
children
line wrap: on
line source

# The most simplistic Makefile, for Cygnus 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