Revisión | 79475adf3893e5fa1991883be9075cf4646646c5 (tree) |
---|---|
Tiempo | 2012-06-05 22:07:07 |
Autor | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
Makefile is refactored #28644
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@716 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -33,9 +33,9 @@ ALL_OBJ_FILES = obj/Main.o obj/MolDSException.o obj/Lapack.o obj/Utilities.o obj | ||
33 | 33 | |
34 | 34 | $(EXENAME): depend $(ALL_OBJ_FILES) |
35 | 35 | ifeq ($(INTEL), 64) |
36 | - $(CC) -o $@ -Wl,-rpath=$(BOOST_LIB_DIR) $(ALL_OBJ_FILES) -L$(BOOST_LIB_DIR) $(LIBS64) $(CFLAGS) $(BOOST_LIBS) | |
36 | + $(CC) -o $@ -Wl,-rpath=$(BOOST_LIB_DIR) $(ALL_OBJ_FILES) -L$(BOOST_LIB_DIR) $(LIBS64) $(BOOST_LIBS) | |
37 | 37 | else |
38 | - $(CC) -o $@ -Wl,-rpath=$(BOOST_LIB_DIR) $(ALL_OBJ_FILES) -L$(BOOST_LIB_DIR) $(LIBS32) $(CFLAGS) $(BOOST_LIBS) | |
38 | + $(CC) -o $@ -Wl,-rpath=$(BOOST_LIB_DIR) $(ALL_OBJ_FILES) -L$(BOOST_LIB_DIR) $(LIBS32) $(BOOST_LIBS) | |
39 | 39 | endif |
40 | 40 | |
41 | 41 | ifeq ($(wildcard $(DEPFILE)), $(DEPFILE)) |
@@ -44,9 +44,9 @@ endif | ||
44 | 44 | |
45 | 45 | depend: $(ALL_HEAD_FILES) $(ALL_CPP_FILES) |
46 | 46 | ifeq ($(INTEL), 64) |
47 | - $(CC) -MM $(ALL_CPP_FILES) -I$(BOOST_INC_DIR) | sed 's/^\([^ ]\)/obj\/\1/g' | sed 's/\($$*\)\.o[ :]*/\1.o : /g' | sed 's/h$$/h\n\t$$(CC) -I$$(BOOST_INC_DIR) -L$$(BOOST_LIB_DIR) -o $$@ $$< $$(LIBS64) $$(CFLAGS) $$(BOOST_LIBS) -c /g' > $(DEPFILE) | |
47 | + $(CC) -MM $(ALL_CPP_FILES) -I$(BOOST_INC_DIR) | sed 's/^\([^ ]\)/obj\/\1/g' | sed 's/\($$*\)\.o[ :]*/\1.o : /g' | sed 's/h$$/h\n\t$$(CC) -I$$(BOOST_INC_DIR) -o $$@ $$< $$(CFLAGS) -c /g' > $(DEPFILE) | |
48 | 48 | else |
49 | - $(CC) -MM $(ALL_CPP_FILES) -I$(BOOST_INC_DIR) | sed 's/^\([^ ]\)/obj\/\1/g' | sed 's/\($$*\)\.o[ :]*/\1.o : /g' | sed 's/h$$/h\n\t$$(CC) -I$$(BOOST_INC_DIR) -L$$(BOOST_LIB_DIR) -o $$@ $$< $$(LIBS32) $$(CFLAGS) $$(BOOST_LIBS) -c /g' > $(DEPFILE) | |
49 | + $(CC) -MM $(ALL_CPP_FILES) -I$(BOOST_INC_DIR) | sed 's/^\([^ ]\)/obj\/\1/g' | sed 's/\($$*\)\.o[ :]*/\1.o : /g' | sed 's/h$$/h\n\t$$(CC) -I$$(BOOST_INC_DIR) -o $$@ $$< $$(CFLAGS) -c /g' > $(DEPFILE) | |
50 | 50 | endif |
51 | 51 | |
52 | 52 | .PHONY: clean |