annotate src/xxd/Make_cyg.mak @ 80:d2796c60ca6f v7.0032

updated for version 7.0032
author vimboss
date Thu, 06 Jan 2005 23:28:25 +0000
parents 3fc0f57ecb91
children 4ec11bb387a5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 # The most simplistic Makefile, for Cygnus gcc on MS-DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 ifndef USEDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 USEDLL = no
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 ifeq (yes, $(USEDLL))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 DEFINES =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 LIBS = -lc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 DEFINES = -mno-cygwin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 LIBS =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 CFLAGS = -O2 -Wall -DWIN32 $(DEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 ifneq (sh.exe, $(SHELL))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 DEL = rm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 DEL = del
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 xxd.exe: xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 gcc $(CFLAGS) -s -o xxd.exe xxd.c $(LIBS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 -$(DEL) xxd.exe