Revision 4203,
993 bytes
checked in by scott, 10 years ago
(diff) |
Added activate_module & its message type; modified ewspectra to use it
|
Line | |
---|
1 | CFLAGS = -O ${GLOBALFLAGS} |
---|
2 | |
---|
3 | B = $(EW_HOME)/$(EW_VERSION)/bin |
---|
4 | L = $(EW_HOME)/$(EW_VERSION)/lib |
---|
5 | |
---|
6 | LIBS = -lm -lposix4 -lthread |
---|
7 | |
---|
8 | EW_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 | |
---|
22 | OBJS = ewspectra.o \ |
---|
23 | iir.o |
---|
24 | |
---|
25 | OBJSc = activate_module.o |
---|
26 | |
---|
27 | OBJSs = sniffspectra.o |
---|
28 | |
---|
29 | |
---|
30 | ewspectra: $(OBJS) $(EW_LIBS) |
---|
31 | $(CC) $(CFLAGS) -o $B/ewspectra $(OBJS) $(EW_LIBS) $(LIBS) |
---|
32 | |
---|
33 | activate_module: $(OBJS) $(EW_LIBS) |
---|
34 | $(CC) $(CFLAGS) -o $B/activate_module $(OBJS) $(EW_LIBS) $(LIBS) |
---|
35 | |
---|
36 | sniffspectra: $(OBJS) $(EW_LIBS) |
---|
37 | $(CC) $(CFLAGS) -o $B/sniffspectra $(OBJS) $(EW_LIBS) $(LIBS) |
---|
38 | |
---|
39 | lint: |
---|
40 | lint ewspectra.c iir.c activate_module.c sniffspectra.c \ |
---|
41 | $(GLOBALFLAGS) |
---|
42 | |
---|
43 | # Clean-up rules |
---|
44 | clean: |
---|
45 | rm -f a.out core *.o *.obj *% *~ |
---|
46 | |
---|
47 | clean_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.