repo.or.cz
/
MacVim.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update credits
[MacVim.git]
/
src
/
xxd
/
Make_cyg.mak
blob
f04b7bfde02e5b42b019e01d4d4b05b47308e6f2
1
# The most simplistic Makefile, for Cygnus gcc on MS-DOS
2
3
ifndef
USEDLL
4
USEDLL
=
no
5
endif
6
7
ifeq
(
yes
, $(
USEDLL
))
8
DEFINES
=
9
LIBS
= -
lc
10
else
11
DEFINES
= -
mno-cygwin
12
LIBS
=
13
endif
14
15
CFLAGS
= -
O2
-
Wall
-
DWIN32
$(
DEFINES
)
16
17
ifneq
(
sh.exe
, $(
SHELL
))
18
DEL
=
rm
19
else
20
DEL
=
del
21
endif
22
23
xxd.exe
:
xxd.c
24
gcc
$(
CFLAGS
) -
s
-
o xxd.exe xxd.c
$(
LIBS
)
25
26
clean
:
27
-$(
DEL
)
xxd.exe