Revision 3199,
653 bytes
checked in by paulf, 13 years ago
(diff) |
unix makefile improvements for cflags and cc vars
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
Line | |
---|
1 | |
---|
2 | # |
---|
3 | # $Id$ |
---|
4 | # |
---|
5 | # Revision history: |
---|
6 | # $Log$ |
---|
7 | # Revision 1.2 2007/12/16 19:44:56 paulf |
---|
8 | # unix makefile improvements for cflags and cc vars |
---|
9 | # |
---|
10 | # Revision 1.1 2005/07/27 15:21:25 friberg |
---|
11 | # added UNIX makefile |
---|
12 | # |
---|
13 | # |
---|
14 | |
---|
15 | LIBS = -lm -lpthread |
---|
16 | CFLAGS = -g ${GLOBALFLAGS} |
---|
17 | |
---|
18 | B = $(EW_HOME)/$(EW_VERSION)/bin |
---|
19 | L = $(EW_HOME)/$(EW_VERSION)/lib |
---|
20 | |
---|
21 | |
---|
22 | O = sniffwave.o $L/getutil.o $L/kom.o $L/transport.o $L/sleep_ew.o \ |
---|
23 | $L/logit.o $L/time_ew.o $L/swap.o |
---|
24 | |
---|
25 | sniffwave: $O |
---|
26 | $(CC) $(CFLAGS) -o $B/sniffwave $O $(LIBS) |
---|
27 | |
---|
28 | lint: |
---|
29 | lint sniffwave.c $(GLOBALFLAGS) |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | # Clean-up rules |
---|
34 | clean: |
---|
35 | rm -f a.out core *.o *.obj *% *~ |
---|
36 | |
---|
37 | clean_bin: |
---|
38 | rm -f $B/sniffwave* |
---|
Note: See
TracBrowser
for help on using the repository browser.