aboutsummaryrefslogtreecommitdiff
path: root/pd/src/makefile.nt
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/makefile.nt')
-rw-r--r--pd/src/makefile.nt11
1 files changed, 10 insertions, 1 deletions
diff --git a/pd/src/makefile.nt b/pd/src/makefile.nt
index 22430d3c..e696e751 100644
--- a/pd/src/makefile.nt
+++ b/pd/src/makefile.nt
@@ -89,7 +89,7 @@ ALLCF = $(CFLAGS) $(INCLUDE) $(INCASIO) $(INCPA) $(INCPM) /D_WINDOWS \
.c.obj:
cl /c $(ALLCF) /Tc$*.c
-pd: ..\bin\pd.exe
+pd: ..\bin\pd.exe ..\bin\pd.com
gui: ..\bin\pdtcl.dll
@@ -115,6 +115,15 @@ gui: ..\bin\pdtcl.dll
link $(LFLAGS) /out:..\bin\pdreceive.exe /INCREMENTAL:NO \
u_pdreceive.obj $(LIB)
+s_entry_com.obj: s_entry.c
+ copy s_entry.c s_entry_com.c
+ cl /c s_entry_com.c
+ del s_entry_com.c
+
+..\bin\pd.com: s_entry_com.obj ..\bin\pd.lib
+ link $(LFLAGS) /out:..\bin\pd.com /INCREMENTAL:NO s_entry_com.obj \
+ ..\bin\pd.lib $(LIB) $(ASIOLIB)
+
# explicit rules to compile portaudio sources:
pa_stream.obj: $(PADIR)\pa_common\pa_stream.c
cl /c $(ALLCF) $(PADIR)\pa_common\pa_stream.c