then : ;\
else rm Makefile.dep && $(MAKE) $(MAKEOPTIONS) Makefile.dep; fi
@cd lib && $(MAKE) $(MAKEOPTIONS) external-links
+ @mkdir -p lib/debug
+ @mkdir -p lib/optimized
+ @echo Created lib/debug and lib/optimized directories.
+
all: debug optimized
go-files := $(addprefix $(LIBDIR)/debug/, $(tmp1:.cc=.$(OBJEXT)))
-debug: mkdir-debug $(LIBDIR)/libdeal_II.g$(lib-suffix)
-optimized: mkdir-optimized $(LIBDIR)/libdeal_II$(lib-suffix)
+debug: $(LIBDIR)/libdeal_II.g$(lib-suffix)
+optimized: $(LIBDIR)/libdeal_II$(lib-suffix)
-mkdir-debug:
- @mkdir -p "$(LIBDIR)/debug/"
- @echo Created $(LIBDIR)/debug directory.
-
-mkdir-optimized:
- @mkdir -p "$(LIBDIR)/optimized/"
- @echo Created $(LIBDIR)/optimized directory.
-
# rules how to generate object files from source files.
$(LIBDIR)/debug/%.$(OBJEXT) :
endif
+
################### some clean-up rules
clean:
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams