@echo on REM You need cURL (http://curl.haxx.se) and MinGW (http://www.mingw.org) to use this tool. REM This script downloads, compiles, and tests my IPv4 library. del *.o ipv4.exe curl -o md5sum.exe http://www.etree.org/cgi-bin/counter.cgi/software/md5sum.exe curl -o ipv4.c http://wjholden.com/ipv4/current/ipv4.c curl -o ipv4.h http://wjholden.com/ipv4/current/ipv4.h curl -o test.c http://wjholden.com/ipv4/current/test.c gcc -c -o ipv4.o ipv4.c -DWINDOWS gcc -c -o test.o test.c -DWINDOWS gcc -o ipv4.exe test.o ipv4.o ipv4.exe 192.168.0.1 255.255.255.0 192.168.1.1 255.255.255.0 md5sum ipv4.exe > ipv4.exe.md5 md5sum -c ipv4.exe.md5