703699d
e356649
@@ -1,2 +1,4 @@ -rover: src/main.c - gcc src/main.c -o rover.out +FILES = src/*.c + +rover: $(FILES) + gcc $(FILES) -o rover.out