Ok. I forgot that tecmake.mak is called from inside Makefile, so its targets will work only if done like this:
make -f ../tecmake.mak clean make -f ../tecmake.mak rebuild Which library or application fail to build? This probably occurs only when building the iupluaconsole, which in fact was a bug in the config.mak because since 3.16 it does not depends on readline anymore. Just fixed and committed to SVN. Best, Scuri On Wed, Nov 18, 2015 at 10:08 PM, Grieb <grieb....@gmail.com> wrote: > sorry, I made a mistake, the line I need to add -lncurses is 1389: > LFLAGS += $(LDIR) $(LIBS) $(PKGLIBS) -lncurses > > > On Wed, 18 Nov 2015 21:06:01 -0200 > > Grieb <grieb....@gmail.com> wrote: > > > > > Ok, I started a different thread to make things easier for me/us. > > > > > > If I enter the directory of iup and do make the library is compiled > > > successfully (except for the not below), all others that I tried > > > failed. > > > > > > make clean > > > make: *** No rule to make target `clean'. Stop. > > > > > > DBG=Yes make rebuild > > > make: *** No rule to make target `rebuild'. Stop. > > > > > > What am I missing here?! > > > > > > About ncurses, you misunderstood me (or maybe I misunderstood you > > > here ;)! The library (iup) wont compile unless I add -lncurses to > > > tecmake.mak in the root of iup library source! The problem is not in > > > my application, it happens when I try to compile iup itself... > > > > > > Thanks, > > > > > > Grieb. > > > > > > On Wed, 18 Nov 2015 16:22:28 -0200 > > > Antonio Scuri <sc...@tecgraf.puc-rio.br> wrote: > > > > > > > [...] > > > > All you need to to is to rebuild the main IUP library but defining > > > > DBG=Yes before doing it. "make rebuild". > > > > > > > > Tecmake is just a GNU make script with several thing pre-defined. > > > > There is actual no installation. "make clean" should be a valid > > > > command. > > > > > > > > ncurses should be configured on the application makefile. > > > > > > > > Best, > > > > Scuri > > > > > > > > On Wed, Nov 18, 2015 at 3:07 PM, Grieb <grieb....@gmail.com> > > > > wrote: > > > > > > > > > [...] > > > > > to compile iup in my environment I need to edit tecmake.mak and > > > > > add -lncurses at line 1767 (LFLAGS). I'm not sure is the correct > > > > > place as I'm not using (have not installed) tecmake, nor spent > > > > > any time on it. > > > > > > > > > > By the way, is there a way to do a make clean or make > > > > > dist-clean? > > > > > > > > > > Thanks, > > > > > > > > > > Grieb. > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users > >
------------------------------------------------------------------------------
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users