# $Id$
# Copyright W. Bangerth, 2003


# deal.II top level directory
D=../..

include $D/common/Make.global_options



make_dependencies : make_dependencies.cc
	@echo ============================ Compiling $@
	@$(CXX) $(CXXFLAGS.o) $< -o $@

clean:
	-rm -f make_dependencies

.PHONY: clean

# $Id$
# Copyright W. Bangerth, 2003


# deal.II top level directory
D=../..

include $D/common/Make.global_options

# if compaq cxx and we have shared, then remove -shared again from
# LDFLAGS, since this prevents generation of a working executable. this
# is clearly a hack, but I'm too lazy for now to work things out
ifeq ($(GXX-VERSION),compaq_cxx)
  XLDFLAGS = $(LDFLAGS:-shared=)
endif

make_dependencies : make_dependencies.cc
	@echo ============================ Compiling $@
	$(CXX) $(CXXFLAGS.o) -c $<
	$(CXX) $(XLDFLAGS) -o $@ make_dependencies.o

clean:
	-rm -f make_dependencies

.PHONY: clean

Work around a problem with cxx not wanting to generate an executable file, but rather a shared lib.
Work around a problem with cxx not wanting to generate an executable file, but rather a shared lib.


git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@7949 0785d39b-7218-0410-832d-ea1e28bc413d
