aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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