Add install call
parent
7147552f14
commit
6fcfb0ad90
6
makefile
6
makefile
|
@ -9,9 +9,15 @@ LFLAGS = -lm
|
||||||
# Compilers
|
# Compilers
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
|
||||||
|
# PREFIX
|
||||||
|
PREFIX := /usr/local
|
||||||
|
|
||||||
satpredict: satpredict.o sgdp4.o satutl.o deep.o ferror.o
|
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
|
$(CC) -o satpredict satpredict.o sgdp4.o satutl.o deep.o ferror.o -lm
|
||||||
|
|
||||||
|
install: satpredict
|
||||||
|
cp satpredict $(PREFIX)/bin
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
rm -f *~
|
rm -f *~
|
||||||
|
|
Loading…
Reference in New Issue