-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathmsvc.mak
More file actions
75 lines (54 loc) · 2.06 KB
/
msvc.mak
File metadata and controls
75 lines (54 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Makefile for MSVC
all: dropouts.exe fix_tles.exe line2.exe mergetle.exe obs_test.exe \
obs_tes2.exe out_comp.exe sat_eph.exe sat_id.exe \
test2.exe test_out.exe test_sat.exe tle2mpc.exe
COMMON_FLAGS=-nologo -W3 -EHsc -c -FD -D_CRT_SECURE_NO_WARNINGS
RM=del
!ifdef BITS_32
BITS=32
!else
BITS=64
!endif
CFLAGS=-MT -O1 -D "NDEBUG" $(COMMON_FLAGS)
LINK=link /nologo /stack:0x8800
OBJS= sgp.obj sgp4.obj sgp8.obj sdp4.obj sdp8.obj deep.obj \
basics.obj get_el.obj common.obj tle_out.obj
dropouts.exe: dropouts.obj
$(LINK) dropouts.obj
fix_tles.exe: fix_tles.obj sat_code$(BITS).lib
$(LINK) fix_tles.obj sat_code$(BITS).lib
line2.exe: line2.obj observe.obj sat_code$(BITS).lib
$(LINK) line2.obj observe.obj sat_code$(BITS).lib lunar$(BITS).lib
mergetle.exe: mergetle.obj
$(LINK) mergetle.obj
obs_test.exe: obs_test.obj observe.obj sat_code$(BITS).lib
$(LINK) obs_test.obj observe.obj sat_code$(BITS).lib
obs_tes2.exe: obs_tes2.obj observe.obj sat_code$(BITS).lib
$(LINK) obs_tes2.obj observe.obj sat_code$(BITS).lib
out_comp.exe: out_comp.obj
$(LINK) out_comp.obj
sat_code$(BITS).lib: $(OBJS)
del sat_code$(BITS).lib
lib /OUT:sat_code$(BITS).lib $(OBJS)
sat_id.exe: sat_id.obj sat_util.obj observe.obj sat_code$(BITS).lib
$(LINK) sat_id.obj sat_util.obj observe.obj sat_code$(BITS).lib lunar$(BITS).lib
sat_eph.exe: sat_eph.obj sat_util.obj observe.obj sat_code$(BITS).lib
$(LINK) sat_eph.obj sat_util.obj observe.obj sat_code$(BITS).lib lunar$(BITS).lib
test2.exe: test2.obj sat_code$(BITS).lib
$(LINK) test2.obj sat_code$(BITS).lib
test_out.exe: test_out.obj sat_code$(BITS).lib
$(LINK) test_out.obj sat_code$(BITS).lib
test_sat.exe: test_sat.obj sat_code$(BITS).lib
$(LINK) test_sat.obj sat_code$(BITS).lib
tle2mpc.exe: tle2mpc.obj observe.obj sat_code$(BITS).lib
$(LINK) tle2mpc.obj observe.obj sat_code$(BITS).lib lunar$(BITS).lib
.cpp.obj:
cl $(CFLAGS) $<
clean:
del *.obj
del *.exe
del *.idb
del sat_code$(BITS).lib
install:
copy norad.h ..\myincl
copy sat_code$(BITS).lib ..\lib