cantera/Cantera/user/Makefile.in
Harry Moffat 05e16e8e35 Added in the PIC autoconf variable, that already existed, into most
of the Makefiles in the code. This variable will now be used
to specify the position independent code compiler option within
Cantera. Note, this bug fix was needed for a 64 bit full python compile
on linux.
2007-04-13 22:39:15 +00:00

65 lines
1 KiB
Makefile

#/bin/sh
###############################################################
# $Author$
# $Date$
# $Revision$
#
# Copyright 2002 California Institute of Technology
#
###############################################################
###############################################################
# list your object files here
# This is probably the only thing you need to change in this file.
OBJS = user.o
###############################################################
SUFFIXES=
SUFFIXES= .cpp .d .o
OBJDIR = .
PIC_FLAG=@PIC@
CXX_FLAGS = @CXXFLAGS@ $(CXX_OPT) $(PIC_FLAG)
CXX_INCLUDES = -I../src
LIB = @buildlib@/libuser.a
DEPENDS = $(OBJS:.o=.d)
%.d:
@CXX_DEPENDS@ $(CXX_INCLUDES) $*.cpp > $*.d
.cpp.o:
@CXX@ -c $< $(CXX_FLAGS) $(CXX_INCLUDES)
.f.o:
@F77@ -c $< $(F77_FLAGS)
all lib: $(LIB)
$(LIB): $(OBJS)
@ARCHIVE@ $(LIB) $(OBJS) > /dev/null
clean:
$(RM) *.o *~ $(LIB)
depends: $(DEPENDS)
cat *.d > .depends
$(RM) $(DEPENDS)
install:
TAGS:
etags *.h *.cpp
ifeq ($(wildcard .depends), .depends)
include .depends
endif