It happened to me too, what I did to circumvent the problem is to repeat the extension twice, e.g: index.html.html, index.js.js, index.css.css so they would become index.html.cpp and so on so forth... But I would be glad if ecppc whould append the extension .cpp instead of replacing the current one. So... what I just explained or what Ralf suggests, use static files. On 30/08/2014 15:34, Ralf Schülke wrote: > Hi, > have you read this Howto? > http://www.tntnet.org/howto/jquery-howto.html > > for handle static files can read this, > http://www.tntnet.org/howto/static-howto.html > > stargater > > 2014-08-30 14:29 GMT+02:00 Andrew Wood <[email protected]>: >> Hi, >> >> I don't seem to find a relevant example in the demos but when you include a >> js/css library in your webpage, I understand that the js & css would be >> compiled into the application, thus would include both in the makefile. >> >> However given the names of the js and css file are typically the same other >> than the extension, what is the trick then for ensuring that they create >> different .cpp/.o files in the compilation? >> >> Just asking because I got caught out when I was having a go at tntnet and >> the web page was trying to load (as javascript) the css instead of the >> javascript. I could manually rename the css/js files to be different but >> then the same thing occurs with font files etc... >> >> Cheers, >> Andrew >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Tntnet-general mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/tntnet-general >> > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Tntnet-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tntnet-general
------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
