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 *~