projects
/
ctsim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
r657: *** empty log message ***
[ctsim.git]
/
getopt
/
Makefile.nt
1
# Makefile for getopt
\r
2
\r
3
!include <ntwin32.mak>
\r
4
\r
5
CC=cl
\r
6
LD=link
\r
7
CFLAGS=-O -nologo -DHAVE_STRING_H
\r
8
LDFLAGS=
\r
9
O=.obj
\r
10
\r
11
# variables
\r
12
OBJ1 = getopt$(O) getopt1$(O)
\r
13
\r
14
all: getopt.lib
\r
15
\r
16
.obj: .c
\r
17
$(CC) -c $(cvarsdll) $(CFLAGS) $*.c
\r
18
\r
19
\r
20
getopt.lib: $(OBJ1)
\r
21
echo something to del > getopt.lib
\r
22
del getopt.lib
\r
23
lib /out:getopt.lib $(OBJ1)
\r
24
\r
25
\r
26
clean:
\r
27
echo dummy > a.obj
\r
28
echo dummy > a.exe
\r
29
echo dummy > a.lib
\r
30
del *.obj
\r
31
del *.exe
\r
32
del *.lib
\r