From 5782dff14768e5cf7e20091bca016013e300e433 Mon Sep 17 00:00:00 2001 From: San Jacobs Date: Fri, 29 Jul 2022 10:45:37 +0200 Subject: Updated makefile and ignore for convenience --- .gitignore | 2 +- makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5acfdbb..205236c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ __pycache__ -obj/* +obj/*.o a.out notes.txt diff --git a/makefile b/makefile index 82dbbf4..e6d7637 100644 --- a/makefile +++ b/makefile @@ -19,6 +19,7 @@ a.out: $(OBJECTS) g++ $(LIBDIR) $(LIBS) $(OBJECTS) $(OBJECTS): obj/%.o : src/%.cpp + mkdir -p obj g++ -g $(INCLUDE) -c $< -o $@ clean: @@ -26,3 +27,6 @@ clean: cleanall: rm obj/*.o a.out + +install: a.out + cp a.out /usr/bin/satscalc -- cgit v1.2.1