source: trunk/src/diagnostic_tools/sniffwave/makefile.ux @ 3199

Revision 3199, 653 bytes checked in by paulf, 12 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
15LIBS = -lm -lpthread
16CFLAGS = -g  ${GLOBALFLAGS}
17
18B = $(EW_HOME)/$(EW_VERSION)/bin
19L = $(EW_HOME)/$(EW_VERSION)/lib
20
21
22O = 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
25sniffwave: $O
26        $(CC) $(CFLAGS) -o $B/sniffwave $O $(LIBS)
27
28lint:
29        lint sniffwave.c $(GLOBALFLAGS)
30
31
32
33# Clean-up rules
34clean:
35        rm -f a.out core *.o *.obj *% *~
36
37clean_bin:
38        rm -f $B/sniffwave*
Note: See TracBrowser for help on using the repository browser.