# Makefile for Shellopen.
# Required: cygwin, as available from http://sourceware.cygnus.com
#

CCFLAGS=-mno-cygwin -mwindows -s

shellopn.exe: shellopn.cpp
	gcc $(CCFLAGS) -o $@ $<
	strip $@

clean: 
	rm -f shellopn.exe
	rm -f shellopn.zip

zip: shellopn.zip

shellopn.zip: shellopn.exe shellopn.cpp Makefile gpl.txt 
	zip $@ $?
