mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 05:03:34 +08:00
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:
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user