From f7e80fb0a5f374c114c192a9446199e1626c3a32 Mon Sep 17 00:00:00 2001 From: Parth591 Date: Fri, 3 Apr 2026 20:48:21 +0530 Subject: [PATCH] PR for Makefile --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile 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