CSC = csc
CXXFLAGS += -std=c++23 -Wall
Out.txt : Makefile main.exe input.txt main
	>log
	echo "hello" > $@
	echo 1,2 3,4 5,6 | sed --expression "s/,/\./g" >> $@
	echo "hello world from stdin" | mono main.exe 23,23 44,44 55,55 1>> $@ 2> log
	echo "callint cat..."
	cat input.txt | mono main.exe 1>> $@ 2>> log
	mono main.exe <input.txt 1>> $@ 2>> log
	echo " " | mono main.exe -input:input.txt -output:$@ 2>>log
	./main --input input.txt --output $@ 2>>log
	
	
input.txt : Makefile
	echo "these go $@" > $@

main.exe : main.cs
	$(CSC) -target:exe -out:$@ $<

test:
	echo $@
	echo '$@'
	echo "$@"
