Partial change: Removing bash ARCHIVE loop

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5336 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-11 16:24:40 +00:00
parent a18d038b81
commit 24a0389152
86 changed files with 142 additions and 310 deletions
+2 -4
View File
@@ -1,7 +1,7 @@
############################################################################
# apps/examples/udp/Makefile
#
# Copyright (C) 2007-2008, 2011 Gregory Nutt. All rights reserved.
# Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -92,9 +92,7 @@ $(TARG_COBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
"$(TARG_BIN)": $(TARG_OBJS) $(HOST_BIN)
@( for obj in $(TARG_OBJS) ; do \
$(call ARCHIVE, $@, $${obj}); \
done ; )
$(call ARCHIVE, $@, "$(TARG_OBJS)")
$(HOST_OBJS): %.o: %.c
$(HOSTCC) -c $(HOSTCFLAGS) $< -o $@