Add install call
parent
7147552f14
commit
6fcfb0ad90
6
makefile
6
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 *~
|
||||
|
|
Loading…
Reference in New Issue