Here I've published some simple (sometimes useful, sometimes just funny) scripts and programs.
Unless differently specified, all the stuff contained here is public domain. Use it as you wish, without any restriction.
As far as I know there's a certain amount of LaTeX makefiles in the Internet... Usually I need something that is quick to write, easy to modify, and general purpose enough.
I wrote this one, which compiles with pdflatex all .tex files in the current directory. This means that auxiliary files must be put in some subdirectory.
Since I discovered The GNU build system, I no longer write my Makefile directly... however sometimes one just needs to scratch down a quick prototype, whithout spending years in ad-hoc configurations.
Thanks to the Make documentation, and to Professor Luca Abeni who wrote this document, Here I have a few-lines general-purpose Makefile. It scans the current directory, retrieves all C files and compiles it. Obviously you may want to modify in order to fit your needs.
Sometimes you want to quickly complile a C++ program as well, or maybe a mixed C/C++ program. This one should satisfy your needs.
Recently I had a look at Lua, which is a funny scripting language, well suited for script embedded (also it's known to be used in many projects like WOW and nmap).
I spent a evening on this because I needed some fun... nothing special, but it works: click here