diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4e0ff21 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +depends= main.o ui.o sensor.o + +hello: $(depends) + g++ $(depends) -o hello +%.o: src/%.cpp + g++ -Iinclude -c $< -o $@ + +.PHONY: clean +clean: + rm -rf $(depends) \ No newline at end of file