SRC = inter.cs native.c GNUmakefile

all: native.dll inter.exe
run: all
	inter.exe


inter.exe: inter.cs
	csc /o+ /nologo /out:$@ $^
	
native.dll: native.c
	gcc -shared -Wall -o $@ $^
	strip $@

clean:
	-rm inter.exe native.dll
zip: $(SRC)
	tar czf inter.tgz $^
touch:
	touch $(SRC)
