All: control designer

tests : argument_length_test argument_valid_test type_valid_test correct_test

correct_test : control designer
	@echo "Testing correct movement."
	Control.exe CustomDesigner Designer

argument_length_test : control
	@echo "Testing argument length error."
	Control.exe arg1

argument_valid_test : control
	@echo "Testing argument validity."
	Control.exe arg1 arg2

type_valid_test : control hello
	@echo "Testing type validity."
	Control.exe Hello Hello

clean :
	del *.dll *.exe

control : Control.exe
designer : Designer.dll
hello : Hello.dll

Control.exe : Control.cs
	csc Control.cs

Designer.dll : Control.exe Designer.cs
	csc /r:Control.exe /t:library Designer.cs

Hello.dll : Hello.cs
	csc /t:library Hello.cs
