Mercurial > hg > RemoteEditor > vim7
annotate src/xxd/Make_cyg.mak @ 49:000769ce6c9d default tip
Added tag v7-3-618 for changeset 67300faee616
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 01 Aug 2012 18:08:37 +0900 |
parents | c16898406ff2 |
children |
rev | line source |
---|---|
0 | 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 | |
39 | 15 CC = gcc |
0 | 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 | |
39 | 25 $(CC) $(CFLAGS) -s -o xxd.exe xxd.c $(LIBS) |
0 | 26 |
27 clean: | |
28 -$(DEL) xxd.exe |