summaryrefslogtreecommitdiff
path: root/apps/system/zmodem/Makefile
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-07-12 16:28:35 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-07-12 16:28:35 -0600
commit8efbedf68d8cd929312a40d5c8f26e16258b135d (patch)
tree0452010a0f12868e96b37b3588f5a26466820ba7 /apps/system/zmodem/Makefile
parent97a9ac8e49b06572bf929529366d7000e6dfa0ee (diff)
downloadnuttx-8efbedf68d8cd929312a40d5c8f26e16258b135d.tar.gz
nuttx-8efbedf68d8cd929312a40d5c8f26e16258b135d.tar.bz2
nuttx-8efbedf68d8cd929312a40d5c8f26e16258b135d.zip
A few more zmodem files; still missing a few but those are still fragile and like to undergo some resign before they are usable
Diffstat (limited to 'apps/system/zmodem/Makefile')
-rw-r--r--apps/system/zmodem/Makefile33
1 files changed, 18 insertions, 15 deletions
diff --git a/apps/system/zmodem/Makefile b/apps/system/zmodem/Makefile
index f62aa818d..7f2bc2277 100644
--- a/apps/system/zmodem/Makefile
+++ b/apps/system/zmodem/Makefile
@@ -38,40 +38,43 @@
include $(APPDIR)/Make.defs
ifeq ($(WINTOOL),y)
-INCDIROPT = -w
+INCDIROPT = -w
endif
# Zmodem sz and rz commands
-PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 768
+PRIORITY = SCHED_PRIORITY_DEFAULT
+STACKSIZE = 768
-ASRCS =
-CSRCS = sz_main.c rz_main.c
+ASRCS =
-AOBJS = $(ASRCS:.S=$(OBJEXT))
-COBJS = $(CSRCS:.c=$(OBJEXT))
+CSRCS = sz_main.c
+CSRCS += rz_main.c
+CSRCS += zm_proto.c zm_watchdog.c zm_utils.c zm_dumpbuffer.c
-SRCS = $(ASRCS) $(CSRCS)
-OBJS = $(AOBJS) $(COBJS)
+AOBJS = $(ASRCS:.S=$(OBJEXT))
+COBJS = $(CSRCS:.c=$(OBJEXT))
+
+SRCS = $(ASRCS) $(CSRCS)
+OBJS = $(AOBJS) $(COBJS)
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
- BIN = ..\..\libapps$(LIBEXT)
+ BIN = ..\..\libapps$(LIBEXT)
else
ifeq ($(WINTOOL),y)
- BIN = ..\\..\\libapps$(LIBEXT)
+ BIN = ..\\..\\libapps$(LIBEXT)
else
- BIN = ../../libapps$(LIBEXT)
+ BIN = ../../libapps$(LIBEXT)
endif
endif
-ROOTDEPPATH = --dep-path .
+ROOTDEPPATH = --dep-path .
# Common build
-VPATH =
+VPATH =
-all: .built
+all: .built
.PHONY: context depend clean distclean
$(AOBJS): %$(OBJEXT): %.S