1
0
Fork 0

Add install call

main
Cees Bassa 2022-07-06 12:55:42 +02:00
parent 7147552f14
commit 6fcfb0ad90
1 changed files with 6 additions and 0 deletions

View File

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