[PD-dev] makefile template

Patrice Colet colet.patrice at free.fr
Mon Oct 17 17:11:50 CEST 2011


Hello IOhannes,

 all I could say is this:

$ make -p -n | grep CXX
make: *** No targets specified and no makefile found.  Stop.
LINK.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
COMPILE.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
CXX = g++


There another thing very unlikely in template/Makefile, if do a 'make clean', it removes all the sources as well as objects and binaries
so for not loosing sources I have to remove these lines:

 -rm -f -- $(SOURCES:.cpp=.o) $(SOURCES_LIB:.cpp=.o) $(SHARED_SOURCE:.cpp=.o)
 -rm -f -- $(SOURCES:.cpp=.$(EXTENSION))



----- Mail original -----
De: "IOhannes m zmoelnig" <zmoelnig at iem.at>
À: "pd-dev" <pd-dev at iem.at>
Envoyé: Lundi 17 Octobre 2011 09:19:06
Objet: Re: [PD-dev] makefile template

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-10-15 04:08, Patrice Colet wrote:
> 
> also I've added
> 
> CXX=g++
> 
> because i'm using mingw, and it starts compile :)
> 

hmm, what is the default for CXX on mingw?

i think it's a bad idea to hardcode the used compiler for no compelling
reason....
...ah after inspecting the template/Makefile, it seems that CC is set
explicitely as well. so does MinGW's make indeed does not use a working
compiler in CC/CXX?

fgmasdr
IOhannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6b1uoACgkQkX2Xpv6ydvQZpACfdKLxIKwYwWMS1pUw/LGhyc3x
yRIAnA1ORcAjUsS0S+PJmlJ02cuK+mc7
=WdXQ
-----END PGP SIGNATURE-----


_______________________________________________
Pd-dev mailing list
Pd-dev at iem.at
http://lists.puredata.info/listinfo/pd-dev



More information about the Pd-dev mailing list