aboutsummaryrefslogtreecommitdiff
path: root/signal/Makefile
blob: ebf4c305a417d861675b38913daa5fc0089ceb56 (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
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 /I..\include
ProgramFiles = C:\Program Files
PDNTLDIR = "$(ProgramFiles)\Microsoft Visual Studio\Vc98\lib"
#PDNTLDIR = "C:\Programme\Msdev\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) sfplay~.obj /export:sfplay_tilde_setup
	-link /dll  $(PDNTLIB) atan2~.obj /export:atan2_tilde_setup
	-link /dll  $(PDNTLIB) exp~.obj /export:exp_tilde_setup
	-link /dll  $(PDNTLIB) log~.obj /export:log_tilde_setup
	-link /dll  $(PDNTLIB) mixer~.obj /export:mixer_tilde_setup
	-link /dll  $(PDNTLIB) sfwrite~.obj /export:swrite_tilde_setup
	-link /dll  $(PDNTLIB) streamin~.obj /export:streamin_tilde_setup
	-link /dll  $(PDNTLIB) streamout~.obj /export:streamout_tilde_setup
	-link /dll  $(PDNTLIB) moog~.obj /export:moog_tilde_setup

clean:
	del *.obj 
	del *.dll


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

.obj.dll: