aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-05-17 03:26:03 +0000
committerN.N. <matju@users.sourceforge.net>2009-05-17 03:26:03 +0000
commitc13764f9d0e425816b21417775386ba32f5bafca (patch)
treee01fc8f6f848cbbc77b9a65cd25a5b1512e39ff1
parentb5c24e0e57e924498e34dea43992d65af1b5a31f (diff)
one last fix for mingw ?
svn path=/trunk/; revision=11419
-rw-r--r--desiredata/src/makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/desiredata/src/makefile.in b/desiredata/src/makefile.in
index e8ed0246..9f88deef 100644
--- a/desiredata/src/makefile.in
+++ b/desiredata/src/makefile.in
@@ -65,13 +65,14 @@ pd.com: main.o
strip --strip-unneeded -R .note -R .comment pd.com
# i should sort out the LDFLAGS thing so that pd,pdsend,pdreceive don't get linked to all libs that libpd.so is linked to.
+# note that MinGW really wants LDFLAGS at the end of the line, not the middle, according to patco.
pdsend$(EXE): u_pdsend.c config.log
- $(CXX) $(CFLAGS) $(STRIPFLAG) $(LDFLAGS) -o pdsend$(EXE) u_pdsend.c
+ $(CXX) $(CFLAGS) $(STRIPFLAG) -o pdsend$(EXE) u_pdsend.c $(LDFLAGS)
$(STRIP) pdsend$(EXE)
pdreceive$(EXE): u_pdreceive.c config.log
- $(CXX) $(CFLAGS) $(STRIPFLAG) $(LDFLAGS) -o pdreceive$(EXE) u_pdreceive.c
+ $(CXX) $(CFLAGS) $(STRIPFLAG) -o pdreceive$(EXE) u_pdreceive.c $(LDFLAGS)
$(STRIP) pdreceive$(EXE)
externs::