-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added updated TLE files, now compilable on Windows using mingw
- Loading branch information
Showing
4 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
@ECHO OFF | ||
REM Variables relevant to the compilation of the program. | ||
SET CXX=g++ | ||
SET CPPOBJS=src/predict.cpp SGP4/libsgp4/CoordGeodetic.cc SGP4/libsgp4/CoordTopocentric.cc SGP4/libsgp4/DateTime.cc SGP4/libsgp4/DecayedException.cc SGP4/libsgp4/Eci.cc SGP4/libsgp4/Globals.cc SGP4/libsgp4/Observer.cc SGP4/libsgp4/OrbitalElements.cc SGP4/libsgp4/SatelliteException.cc SGP4/libsgp4/SGP4.cc SGP4/libsgp4/SolarPosition.cc SGP4/libsgp4/TimeSpan.cc SGP4/libsgp4/Tle.cc SGP4/libsgp4/TleException.cc SGP4/libsgp4/Util.cc SGP4/libsgp4/Vector.cc | ||
SET EDCFLAGS=-std=gnu11 -O2 | ||
SET EDCXXFLAGS=-I ./ -I ./include/ -I ./SGP4/libsgp4/ -I ./SGP4/passpredict/ -I ./SGP4/sattrack/ -Wall | ||
SET TARGET=predict.exe | ||
|
||
REM This run a command-prompt command to compile using G++. | ||
ECHO Compiling %CPPOBJS% into %TARGET% using %CXX% with %EDCXXFLAGS% flag(s)... | ||
CMD /c "%CXX% %EDCXXFLAGS% %CPPOBJS% -o %TARGET%" | ||
|
||
REM This will run the executable automatically. | ||
@REM START %TARGET% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1 49277U 98067SW 21326.84226188 .00013751 00000-0 23989-3 0 9993 | ||
2 49277 51.6414 277.7701 0004151 278.2544 81.7974 15.50999260 6486 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1 49278U 98067SX 21327.14207096 .00028261 00000-0 45588-3 0 9996 | ||
2 49278 51.6408 276.0233 0002491 263.8703 96.2003 15.52676200 6554 |