source: trunk/src/data_exchange/ew2file/makefile.ux @ 3186

Revision 3186, 865 bytes checked in by paulf, 13 years ago (diff)

cflags fixed for linux

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#
2#   THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE
3#   CHECKED IT OUT USING THE COMMAND CHECKOUT.
4#
5#    $Id$
6#
7#    Revision history:
8#     $Log$
9#     Revision 1.2  2007/12/16 14:50:31  paulf
10#     cflags fixed for linux
11#
12#     Revision 1.1  2005/07/27 18:19:17  friberg
13#     added UNIX makefile
14#
15#
16#
17#
18
19CFLAGS = -g -D_REENTRANT $(GLOBALFLAGS)
20
21APP = ew2file
22B = $(EW_HOME)/$(EW_VERSION)/bin
23L = $(EW_HOME)/$(EW_VERSION)/lib
24
25BINARIES = ew2file.o $L/mem_circ_queue.o $L/kom.o \
26           $L/getsysname_ew.o $L/getutil.o $L/logit_mt.o $L/transport.o \
27               $L/sleep_ew.o $L/time_ew.o $L/threads_ew.o $L/sema_ew.o  $L/dirops_ew.o
28
29all: $B/$(APP)
30
31$B/$(APP): $(BINARIES)
32        $(CC) $(CFLAGS) -o $B/ew2file $(CFLAGS) $(BINARIES) -lpthread
33
34
35lint:
36        lint ew2file.c $(GLOBALFLAGS)
37
38# Clean-up rules
39clean:
40        rm -f a.out core *.o
41
42clean_bin:
43        rm -f $B/$(APP)
Note: See TracBrowser for help on using the repository browser.