diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-10 19:48:44 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-10 19:49:55 -0600 |
commit | 306ae83c983ed04e31d22ad6ee119831a284fc9b (patch) | |
tree | e7a400c58fa4f86b2c432c1e2abcbf55ef404964 /apps/examples | |
parent | 59105dbbb0d37b30f9422b254e9911cdf2a37a61 (diff) | |
download | nuttx-306ae83c983ed04e31d22ad6ee119831a284fc9b.tar.gz nuttx-306ae83c983ed04e31d22ad6ee119831a284fc9b.tar.bz2 nuttx-306ae83c983ed04e31d22ad6ee119831a284fc9b.zip |
Fix some minor issues with the exampls/udp Makefile
Diffstat (limited to 'apps/examples')
-rw-r--r-- | apps/examples/udp/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/udp/Makefile b/apps/examples/udp/Makefile index 360cfd8c2..7d0426026 100644 --- a/apps/examples/udp/Makefile +++ b/apps/examples/udp/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/examples/udp/Makefile # -# Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2008, 2011-2012, 2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -53,7 +53,7 @@ TARG_AOBJS = $(TARG_ASRCS:.S=$(OBJEXT)) TARG_COBJS = $(TARG_CSRCS:.c=$(OBJEXT)) TARG_MAINOBJ = $(TARG_MAINSRC:.c=$(OBJEXT)) -TARG_SRCS = $(TARG_ASRCS) $(TARG_CSRCS) $(TARG_CSRCS) +TARG_SRCS = $(TARG_ASRCS) $(TARG_CSRCS) $(TARG_MAINSRC) TARG_OBJS = $(TARG_AOBJS) $(TARG_COBJS) ifneq ($(CONFIG_BUILD_KERNEL),y) @@ -110,7 +110,7 @@ $(TARG_AOBJS): %$(OBJEXT): %.S $(TARG_COBJS): %$(OBJEXT): %.c $(call COMPILE, $<, $@) -"$(TARG_BIN)": $(TARG_OBJS) $(HOST_BIN) +$(TARG_BIN): $(TARG_OBJS) $(HOST_BIN) $(call ARCHIVE, $@, $(TARG_OBJS)) $(HOST_OBJS): %.o: %.c |