[longomatch] Change rules to make it easier to c&p commands



commit 1eac039a815ff034a2785bd8569e7dcb8e4d639a
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Apr 17 13:02:12 2015 +0200

    Change rules to make it easier to c&p commands

 build/build.rules.mk |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/build/build.rules.mk b/build/build.rules.mk
index 6117c5d..7e73312 100644
--- a/build/build.rules.mk
+++ b/build/build.rules.mk
@@ -61,16 +61,11 @@ build-debug:
 
 $(ASSEMBLY_FILE).mdb: $(ASSEMBLY_FILE)
 
+DEFAULT_MCS_FLAGS = -nowarn:0278 -nowarn:0078 -unsafe -define:HAVE_GTK -codepage:utf8 -sdk:4.5 -debug
+
 $(ASSEMBLY_FILE): $(SOURCES_BUILD) $(RESOURCES_EXPANDED) $(DEP_LINK)
        @mkdir -p $(BUILD_DIR_ABS)/migration
-       $(AM_V_GEN) $(MCS) \
-               $(GMCS_FLAGS) \
-               $(ASSEMBLY_BUILD_FLAGS) \
-               -nowarn:0278 -nowarn:0078 $$warn -unsafe \
-               -define:HAVE_GTK -codepage:utf8 -sdk:4.5 \
-               -debug -target:$(TARGET) -out:$@ \
-               $(BUILD_DEFINES) $(ENABLE_TESTS_FLAG) $(ENABLE_ATK_FLAG) \
-               $(FILTERED_LINK) $(RESOURCES_BUILD) $(SOURCES_BUILD)
+       $(AM_V_GEN) $(MCS) $(GMCS_FLAGS) $(ASSEMBLY_BUILD_FLAGS) $(DEFAULT_MCS_FLAGS) -target:$(TARGET) 
-out:$@ $(FILTERED_LINK) $(RESOURCES_BUILD) $(SOURCES_BUILD)
        @if [ ! -z "$(EXTRA_BUNDLE)" ]; then \
                cp $(EXTRA_BUNDLE) $(BUILD_DIR_ABS); \
        fi;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]