File: win_old.mak

package info (click to toggle)
pluto-find-orb 0.0~git20180227-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,668 kB
  • sloc: cpp: 30,743; makefile: 263
file content (47 lines) | stat: -rw-r--r-- 1,737 bytes parent folder | download
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
# "Old" make file,  for Windows ME and MSVC 5.0.  Still works,
# as of early 2015,  to create a 32-bit Windows Find_Orb.

all: find_o32.exe

RM=rm

OBJS=about.obj clipfunc.obj ephem.obj generic.obj monte.obj  \
  orbitdlg.obj settings.obj stdafx.obj \
  b32_eph.obj bc405.obj collide.obj conv_ele.obj eigen.obj \
  elem2tle.obj elem_out.obj ephem0.obj gauss.obj \
  jpleph.obj lsquare.obj moid4.obj monte0.obj mpc_obs.obj mt64.obj \
  orb_func.obj orb_fun2.obj pl_cache.obj roots.obj runge.obj \
  sigma.obj sm_vsop.obj sr.obj tle_out.obj

!ifdef DEBUG
CFLAGS=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "_DEBUG" /D "_AFXDLL"\
 /Fp"find_orb.pch" /FD /c
LINK32_FLAGS=lunar.lib /nologo /stack:0x8800 /subsystem:windows\
 /profile /map:"find_orb.map" /debug /machine:IX86\
 /def:"find_orb.def" /out:"find_orb.exe"
!else
CFLAGS=-nologo -MT -W3 -GX -O1 -D "NDEBUG" -FD -c -D_CRT_SECURE_NO_WARNINGS
LINK32_FLAGS=lunar.lib /nologo /stack:0x8800 /subsystem:windows\
 /incremental:no /machine:IX86 /def:"find_orb.def" /out:"find_orb.exe"
!endif

find_o32.exe:              find_orb.obj $(OBJS) find_orb.res
     link $(LINK32_FLAGS)  find_orb.obj $(OBJS) find_orb.res
     del find_o32.exe
     ren find_orb.exe find_o32.exe
     rm find_orb.exp
     rm find_orb.lib

.cpp.obj:
   cl $(CFLAGS) $<

clean:
   $(RM) $(OBJS)
   $(RM) fo.obj findorb.obj fo_serve.obj
   $(RM) covar.txt covar?.txt debug.txt eleme?.txt elements.txt
   $(RM) ephemeri.txt find_orb$(EXE) fo$(EXE) gauss.out monte.txt monte?.txt
   $(RM) mpc_f?.txt mpc_fmt.txt mpec.htm obser?.txt observe.txt
   $(RM) residual.txt state.txt state?.txt virtu?.txt virtual.txt
   $(RM) sr_elems.txt mpcorb.dat fo_serve.cgi find_orb.res
   $(RM) mpc_fmt.txt elements.txt covar.txt gauss.out *.idb