File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,19 @@ DEP_SUBDIRS := $(sort $(dir $(DEP)))
126
126
# Compilation
127
127
128
128
all :
129
- ($( MAKE) --question build && echo $( MSG_NO_CHNG) ) \
130
- || (echo -n $( MSG_INFO) $( MSG_START) \
131
- && ($( MAKE) build && echo $( MSG_SUCCESS) ) \
132
- || (echo $( MSG_FAILURE) && exit 42))
129
+ if $( MAKE) --question build; then \
130
+ echo $(MSG_NO_CHNG ) ; \
131
+ else \
132
+ echo -n $(MSG_INFO )$(MSG_START ) ; \
133
+ if $( MAKE) build; then \
134
+ echo ; \
135
+ echo $(MSG_SUCCESS ) ; \
136
+ else \
137
+ echo ; \
138
+ echo $(MSG_FAILURE ) ; \
139
+ exit 42; \
140
+ fi ; \
141
+ fi
133
142
134
143
run : all
135
144
" ./$( NAME) "
@@ -268,7 +277,7 @@ MSG_START := $(STY_ITA)"Building Crash ... "$(STY_RES)
268
277
# ###############################################################################
269
278
MSG_PROGRESS := $(STY_ITA ) "🌊"$(STY_RES )
270
279
# ###############################################################################
271
- MSG_SUCCESS := $(STY_BOL )$(STY_ITA )$(STY_CYA ) "\nDONE !"$(STY_RES )
280
+ MSG_SUCCESS := $(STY_BOL )$(STY_ITA )$(STY_CYA ) "DONE !"$(STY_RES )
272
281
# ###############################################################################
273
282
MSG_NO_CHNG := $(STY_ITA )$(STY_WHI ) "Everything up-to-date!"$(STY_RES )
274
283
# ###############################################################################
You can’t perform that action at this time.
0 commit comments