Skip to content

Commit

Permalink
Renamed vec2tle.cpp to eph2tle.cpp a few commits ago, to avoid confus…
Browse files Browse the repository at this point in the history
…ion with an existing, better-known vec2tle; but I neglected to reflect that change in the makefile. This is fixed
  • Loading branch information
Bill-Gray committed Jun 5, 2017
1 parent 1222b76 commit c78ad86
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions makefile
Expand Up @@ -5,7 +5,7 @@
# Usage: make -f [path/]linmake [CLANG=Y] [XCOMPILE=Y] [MSWIN=Y] [X=Y] [tgt]
#
# where tgt can be any of:
# [all|find_orb|fo|fo_serve|clean|clean_temp|vec2tle|cssfield]
# [all|find_orb|fo|fo_serve|clean|clean_temp|eph2tle|cssfield]
#
# 'XCOMPILE' = cross-compile for Windows, using MinGW, on a Linux box
# 'MSWIN' = compile for Windows, using MinGW and PDCurses, on a Windows machine
Expand Down Expand Up @@ -33,10 +33,10 @@ endif
# systems. If so, change to '-mkdir' and ignore errors.

ifdef MSWIN
LIBSADDED=
LIBSADDED=-static-libgcc
EXE=.exe
OBJSADDED=clipfunc.o
CURSES_LIB=-lpdcurses -static-libgcc
CURSES_LIB=-lpdcurses
MKDIR=-mkdir
else
MKDIR=mkdir -p
Expand Down Expand Up @@ -67,7 +67,7 @@ ifdef XCOMPILE
LIBSADDED=-L $(INSTALL_DIR)/win_lib -lm -lgdi32 -luser32 -mwindows
endif

all: fo$(EXE) find_orb$(EXE) fo_serve.cgi vec2tle$(EXE)
all: fo$(EXE) find_orb$(EXE) fo_serve.cgi eph2tle$(EXE)

CFLAGS=-c -O3 -Wall -pedantic -Wextra -Wno-unused-parameter -I $(INSTALL_DIR)/include

Expand All @@ -85,8 +85,8 @@ find_orb$(EXE): findorb.o $(OBJS)
fo$(EXE): fo.o $(OBJS)
$(CC) -o fo$(EXE) fo.o $(OBJS) $(LIBS)

vec2tle$(EXE): vec2tle.o conv_ele.o elem2tle.o lsquare.o
$(CC) -o vec2tle$(EXE) vec2tle.o conv_ele.o elem2tle.o lsquare.o $(LIBS)
eph2tle$(EXE): eph2tle.o conv_ele.o elem2tle.o lsquare.o
$(CC) -o eph2tle$(EXE) eph2tle.o conv_ele.o elem2tle.o lsquare.o $(LIBS)

cssfield$(EXE): cssfield.o
$(CC) -o cssfield$(EXE) cssfield.o $(LIBS)
Expand All @@ -98,7 +98,7 @@ IDIR=$(HOME)/.find_orb

clean:
$(RM) $(OBJS) fo.o findorb.o fo_serve.o find_orb$(EXE) fo$(EXE)
$(RM) fo_serve.cgi vec2tle.o vec2tle$(EXE) cssfield$(EXE) cgi_func.o
$(RM) fo_serve.cgi eph2tle.o eph2tle$(EXE) cssfield$(EXE) cgi_func.o
$(RM) cssfield.o
cd $(IDIR)
$(RM) covar.txt covar?.txt debug.txt eleme?.txt elements.txt
Expand Down

0 comments on commit c78ad86

Please sign in to comment.