summaryrefslogtreecommitdiff
path: root/apps/examples/ftpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ftpc/Makefile')
-rw-r--r--apps/examples/ftpc/Makefile31
1 files changed, 16 insertions, 15 deletions
diff --git a/apps/examples/ftpc/Makefile b/apps/examples/ftpc/Makefile
index 74741b5ee..10698ba31 100644
--- a/apps/examples/ftpc/Makefile
+++ b/apps/examples/ftpc/Makefile
@@ -39,31 +39,32 @@ include $(APPDIR)/Make.defs
# FTPC Client Application
-APPNAME = ftpc
-PRIORITY = SCHED_PRIORITY_DEFAULT
-STACKSIZE = 4096
+APPNAME = ftpc
+PRIORITY = SCHED_PRIORITY_DEFAULT
+STACKSIZE = 4096
-ASRCS =
-CSRCS = ftpc_main.c ftpc_cmds.c
+ASRCS =
+CSRCS = ftpc_cmds.c
+MAINSRC = ftpc_main.c
-AOBJS = $(ASRCS:.S=$(OBJEXT))
-COBJS = $(CSRCS:.c=$(OBJEXT))
+AOBJS = $(ASRCS:.S=$(OBJEXT))
+COBJS = $(CSRCS:.c=$(OBJEXT))
MAINOBJ = $(MAINSRC:.c=$(OBJEXT))
-SRCS = $(ASRCS) $(CSRCS) $(MAINSRC)
-OBJS = $(AOBJS) $(COBJS)
+SRCS = $(ASRCS) $(CSRCS) $(MAINSRC)
+OBJS = $(AOBJS) $(COBJS)
ifneq ($(CONFIG_BUILD_KERNEL),y)
OBJS += $(MAINOBJ)
endif
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
@@ -76,13 +77,13 @@ endif
CONFIG_XYZ_PROGNAME ?= ftpc$(EXEEXT)
PROGNAME = $(CONFIG_XYZ_PROGNAME)
-ROOTDEPPATH = --dep-path .
+ROOTDEPPATH = --dep-path .
# Common build
-VPATH =
+VPATH =
-all: .built
+all: .built
.PHONY: context depend clean distclean
$(AOBJS): %$(OBJEXT): %.S