view src/xxd/Make_cyg.mak @ 1934:80e5b1da6676 v7.2.231

updated for version 7.2-231
author vimboss
date Tue, 14 Jul 2009 14:04:54 +0000
parents 3fc0f57ecb91
children 4ec11bb387a5
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 = -mno-cygwin
LIBS    =
endif

CFLAGS = -O2 -Wall -DWIN32 $(DEFINES)

ifneq (sh.exe, $(SHELL))
DEL = rm
else
DEL = del
endif

xxd.exe: xxd.c
	gcc $(CFLAGS) -s -o xxd.exe xxd.c $(LIBS)

clean:
	-$(DEL) xxd.exe