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
Merged from the latest developing branch.
[MacVim.git]
/
src
/
xxd
/
Make_cyg.mak
blob
ba74b1808540175b4acc94f5d1f7859feae66ebe
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
CC
=
gcc
16
CFLAGS
= -
O2
-
Wall
-
DWIN32
$(
DEFINES
)
17
18
ifneq
(
sh.exe
, $(
SHELL
))
19
DEL
=
rm
20
else
21
DEL
=
del
22
endif
23
24
xxd.exe
:
xxd.c
25
$(
CC
) $(
CFLAGS
) -
s
-
o xxd.exe xxd.c
$(
LIBS
)
26
27
clean
:
28
-$(
DEL
)
xxd.exe