aboutsummaryrefslogtreecommitdiff
path: root/control/Makefile
blob: abcf9dd156df576a0a0bc8dc3a84a14595ff0961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
current: nt


# TARGETS += stk

VERSION = \"0.16\"

.SUFFIXES: .dll .obj
# ----------------------- NT ----------------------------

NTOBJECTS = *.obj
NTDLLS = *.dll

PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo

PDNTINCLUDE = /I. /I..\..\pd\src 
	
ProgramFiles = c:\Program Files
PDNTLDIR = "$(ProgramFiles)\Microsoft Visual Studio\Vc98\lib"

PDNTLIB = $(PDNTLDIR)\libc.lib \
	$(PDNTLDIR)\oldnames.lib \
	$(PDNTLDIR)\wsock32.lib \
	$(PDNTLDIR)\kernel32.lib \
	$(PDNTLDIR)\uuid.lib \
	..\..\pd\bin\pd.lib 

nt: $(NTOBJECTS) 
	-link /dll  $(PDNTLIB) constant.obj /export:constant_setup
	-link /dll  $(PDNTLIB) inv.obj /export:inv_setup
	-link /dll  $(PDNTLIB) qread.obj /export:qread_setup
	-link /dll  $(PDNTLIB) rl.obj /export:rl_setup
	-link /dll  $(PDNTLIB) rtout.obj /export:rtout_setup
	-link /dll  $(PDNTLIB) unserialize.obj /export:unserialize_setup
	-link /dll  $(PDNTLIB) serialize.obj /export:serialize_setup
	-link /dll  $(PDNTLIB) sinh.obj /export:sinh_setup
	-link /dll  $(PDNTLIB) sl.obj /export:sl_setup
	-link /dll  $(PDNTLIB) stripdir.obj /export:stripdir_setup
	-link /dll  $(PDNTLIB) unwonk.obj /export:unwonk_setup

clean:
	del *.obj 
	del *.dll


.c.obj:
	-cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c

.obj.dll: