From 75cdc8ca593f4f36942e81612eddc93e93b6c656 Mon Sep 17 00:00:00 2001 From: alu Date: Mon, 23 May 2011 21:29:36 +0000 Subject: [PATCH] =?UTF-8?q?Fixed=20f%@=C3=A6ed=20up=20build,=20thx=20for?= =?UTF-8?q?=20your=20help=20kju?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rules.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rules.mk b/rules.mk index 3e86663..a522561 100644 --- a/rules.mk +++ b/rules.mk @@ -17,8 +17,7 @@ OBJECTS += $(patsubst %.S,obj_avr/%.o,${ASRC}) @ $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $< objects_avr: $(OBJECTS) - @ echo "writing object ineventory" - @ echo $(OBJECTS) > obj_avr/.objects + @ if [ -d obj_avr ]; then echo "writing object inventory" ; echo $(OBJECTS) > obj_avr/.objects ; fi ############################################################################## # rules for buildung simulator objects