source: trunk/src/seismic_processing/ewspectra/makefile.sol @ 4203

Revision 4203, 993 bytes checked in by scott, 10 years ago (diff)

Added activate_module & its message type; modified ewspectra to use it

Line 
1CFLAGS = -O ${GLOBALFLAGS}
2
3B = $(EW_HOME)/$(EW_VERSION)/bin
4L = $(EW_HOME)/$(EW_VERSION)/lib
5
6LIBS = -lm -lposix4 -lthread
7
8EW_LIBS = $L/logit_mt.o \
9                $L/kom.o \
10                $L/threads_ew.o \
11                $L/time_ew.o \
12                $L/transport.o \
13                $L/sleep_ew.o \
14                $L/getutil.o \
15                $L/sema_ew.o \
16                $L/ws_clientII.o \
17                $L/socket_ew_common.o \
18                $L/socket_ew.o \
19                $L/swap.o \
20                $L/ew_spectra_io.o
21
22OBJS = ewspectra.o \
23       iir.o
24
25OBJSc = activate_module.o
26
27OBJSs = sniffspectra.o
28
29
30ewspectra: $(OBJS) $(EW_LIBS)
31        $(CC) $(CFLAGS) -o $B/ewspectra $(OBJS) $(EW_LIBS) $(LIBS)
32
33activate_module: $(OBJS) $(EW_LIBS)
34        $(CC) $(CFLAGS) -o $B/activate_module $(OBJS) $(EW_LIBS) $(LIBS)
35
36sniffspectra: $(OBJS) $(EW_LIBS)
37        $(CC) $(CFLAGS) -o $B/sniffspectra $(OBJS) $(EW_LIBS) $(LIBS)
38
39lint:
40        lint ewspectra.c iir.c activate_module.c sniffspectra.c \
41                        $(GLOBALFLAGS)
42
43# Clean-up rules
44clean:
45        rm -f a.out core *.o *.obj *% *~
46
47clean_bin:
48        rm -f $B/ewspectra $B/activate_module $B/sniffspectra
49
50
51.c.o:
52        $(CC) -c ${CFLAGS} $<
53
Note: See TracBrowser for help on using the repository browser.