Copyright © 1997 The California Institute of Technology
All rights reserved.
Makefile
1 #----------------------------------------------------------------------------
2 #
3 # File: Makefile
4 #
5 # Function: Compiles and links FEI C++ example programs. To compile and
6 # line one of the example programs, execute a command like this:
7 #
8 # make example1
9 #
10 # Creator: J. Rector, JPL
11 #
12 # Created: July 18, 1997
13 #
14 # Notes:
15 # 1. Unix: The directories where shared libraries can be found, including
16 # Fei.so, must be defined in the environmental variable LD_LIBRARY_PATH
17 #
18 #----------------------------------------------------------------------------
19
20 CC = CC
21 #CC = purify CC
22
23 SRC = /usr/local/fei
24
25 LIBDIRS = -L${SRC}/lib -L/usr/local/ACE_wrappers/ace -L/usr/local/kerberos/lib
26 LIBS = -lFEI -lACE -lsocket -lnsl -lkrb5 -lcrypto -lcom_err -lkrb -ldes -lpthread -lthread
27
28 CFLAGS = -g -mt +w -I${SRC}/include
29 #CFLAGS = -O -mt +w -I${SRC}/include
30
31 CMDS = example1 example2 example3 process
32
33 all : ${CMDS}
34
35 ${CMDS} : $$@.cpp
36 ${CC} ${CFLAGS} ${LIBDIRS} ${LIBS} $? -o $@
37
38 clean :
39 rm -f core ${CMDS} Templates.DB/* *.o
Makefile