diff --git a/Makefile b/Makefile index 4f71720..b40e244 100644 --- a/Makefile +++ b/Makefile @@ -6,3 +6,12 @@ TARGET = target all: @echo Compile @gcc chsrc.c $(CFLAGS) -o $(TARGET) + +test: + @gcc test_helper.c -o test + @./test + +clean: + -@rm *.exe 2>/dev/null + -@rm $(TARGET) 2>/dev/null + -@rm ./test 2>/dev/null