From 6fcfb0ad9044e6dcc3892ae529cef02f1a22f9bc Mon Sep 17 00:00:00 2001 From: Cees Bassa Date: Wed, 6 Jul 2022 12:55:42 +0200 Subject: [PATCH] Add install call --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makefile b/makefile index 0b24088..47256de 100644 --- a/makefile +++ b/makefile @@ -9,9 +9,15 @@ LFLAGS = -lm # Compilers CC = gcc +# PREFIX +PREFIX := /usr/local + satpredict: satpredict.o sgdp4.o satutl.o deep.o ferror.o $(CC) -o satpredict satpredict.o sgdp4.o satutl.o deep.o ferror.o -lm +install: satpredict + cp satpredict $(PREFIX)/bin + clean: rm -f *.o rm -f *~