aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorSan Jacobs2022-07-29 10:45:37 +0200
committerSan Jacobs2022-07-29 10:45:37 +0200
commit5782dff14768e5cf7e20091bca016013e300e433 (patch)
tree29c9ee239ea60fc6dde50a318557889d09d08bae /makefile
parentdad85b5baead280b88a8ba272c0b8cfe63d834cf (diff)
downloadsatscalc-5782dff14768e5cf7e20091bca016013e300e433.tar.gz
satscalc-5782dff14768e5cf7e20091bca016013e300e433.tar.bz2
satscalc-5782dff14768e5cf7e20091bca016013e300e433.zip
Updated makefile and ignore for convenience
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 4 insertions, 0 deletions
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