projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e827a74
)
Invert test on moc success
author
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 18 Feb 2008 15:41:52 +0000
(15:41 +0000)
committer
bernie
<bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 18 Feb 2008 15:41:52 +0000
(15:41 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1131
38d2e660
-2303-0410-9eaa-
f027e97ec537
rules.mk
patch
|
blob
|
history
diff --git
a/rules.mk
b/rules.mk
index e395f053c31cabed468674357d1b3458f57b0d1a..05fa5e4cdec07e67bb7da787854b1c4507e2b611 100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-217,8
+217,8
@@
$(foreach t,$(TRG),$(eval $(call build_target,$(t))))
# leading to puzzling linker errors. Kill 'em and abort build.
%_moc.cpp: %.h
$(MOC) -o $@ $<
- if [ -s $< ]; then \
- rm $@; \
+ if [
!
-s $< ]; then \
+ rm
-f
$@; \
exit 1; \
fi