source: trunk/src/seismic_processing/ewspectra/makefile.nt @ 8361

Revision 7957, 1.0 KB checked in by baker, 2 years ago (diff)

change <ntwin32.mak> to <Win32.Mak> in Windows makefiles

Line 
1!IF "$(EW_DEBUG)" == "1"
2!ELSE
3NODEBUG=1
4!ENDIF
5
6!include <Win32.Mak>
7
8CFLAGS  = $(cflags)    $(cdebug) $(cvarsmt)   $(GLOBALFLAGS)
9LDFLAGS = $(conlflags) $(ldebug) $(conlibsmt)
10
11B = $(EW_HOME)\$(EW_VERSION)\bin
12L = $(EW_HOME)\$(EW_VERSION)\lib
13
14APP = ewspectra
15APPc = activate_module
16APPs = sniffspectra
17
18OBJS = \
19        $(APP).obj \
20        iir.obj
21OBJSc = activate_module.obj
22OBJSs = sniffspectra.obj
23
24EW_LIBS = \
25        /LIBPATH:$L \
26        ew_spectra_io.obj \
27        mem_circ_queue.obj \
28        socket_ew.obj \
29        socket_ew_common.obj \
30        swap.obj \
31        ws_clientII.obj \
32        libew_mt.lib
33
34all:    $B\$(APP).exe \
35        $B\$(APPc).exe \
36        $B\$(APPs).exe
37
38$B\$(APP).exe: $(OBJS)
39        $(link) /out:$@ $(LDFLAGS) $(OBJS) $L\ws2ts.obj $(EW_LIBS)
40$B\$(APPc).exe: $(OBJSc)
41        $(link) /out:$@ $(LDFLAGS) $(OBJSc) $(EW_LIBS)
42$B\$(APPs).exe: $(OBJSs)
43        $(link) /out:$@ $(LDFLAGS) $(OBJSs) $(EW_LIBS)
44
45
46# Clean-up rules
47clean: PHONY
48        -del a.out core *.o *.obj *% *~
49
50clean_bin: PHONY
51        -del $B\$(APP)  $B\$(APP).exe
52        -del $B\$(APPc) $B\$(APPc).exe
53        -del $B\$(APPs) $B\$(APPs).exe
54
55PHONY:
Note: See TracBrowser for help on using the repository browser.