all: xxx-cygwin xxx-cygwin: testit.cc xxx.cc g++ -g -O2 -shared testit.cc -o testit-cygwin.dll && g++ -g -O2 xxx.cc testit-cygwin.dll -o xxx-cygwin.exe clean: rm -f testit-cygwin.dll xxx-cygwin.exe