/usr/share/deal.II/Make.rules is in libdeal.ii-dev 6.3.1-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | ############################################################
# Include general settings for including DEAL libraries
############################################################
include $D/common/Make.global_options
############################################################
# Targets for compilation
############################################################
ifneq ($(enable-threads),no)
MT = MT
else
MT = ==
endif
%.g.$(OBJEXT) : %.cc
@echo =====debug======$(MT)== $<
@$(CXX) $(CXXFLAGS.g) $(CXXFLAGS) -c $< -o $@
%.$(OBJEXT) : %.cc
@echo =====optimized==$(MT)== $<
@$(CXX) $(CXXFLAGS.o) $(CXXFLAGS) -c $< -o $@
############################################################
# Automatic generation of dependencies
############################################################
all-cc-files = $(shell echo *.cc)
Makefile.depend: $(all-cc-files)
@echo =====Dependencies== Makefile.depend
@$(CXX) $(flags) $^ -M > $@
@$(PERL) -pi~ -e 's/(^[^.]+)\.$(OBJEXT):/\1.$(OBJEXT) \1.g.$(OBJEXT):/;' $@
include Makefile.depend
|