diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67d7b01 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +netcalc +test/results +test/netcalc.pid diff --git a/Makefile b/Makefile index ee87155..0a7864d 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ clean: $(FILE): $(FILE).c gcc $^ -o $@ -tests: $(FILE) +test: $(FILE) ./$(FILE) & echo $$! > test/$(FILE).pid ./$(FILE) -c < test/cases > test/results kill `cat test/$(FILE).pid`