summaryrefslogtreecommitdiff
path: root/apps/examples/usbserial/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/usbserial/Makefile')
-rw-r--r--apps/examples/usbserial/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/usbserial/Makefile b/apps/examples/usbserial/Makefile
index 61fba5244..2ac0cb085 100644
--- a/apps/examples/usbserial/Makefile
+++ b/apps/examples/usbserial/Makefile
@@ -48,7 +48,7 @@ COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
-BIN = ../../libapps$(LIBEXT)
+BIN = $(APPDIR)/libapps$(LIBEXT)
ROOTDEPPATH = --dep-path .
@@ -81,9 +81,9 @@ $(BIN): $(OBJS)
depend: .depend
clean:
- @rm -f $(BIN) *.o *~ .*.swp .built
+ @rm -f *.o *~ .*.swp .built
$(call CLEAN)
- @(MAKE) -f Makefile.host clean TOPDIR=$(TOPDIR) APPDIR=$(APPDIR)
+ @$(MAKE) -f Makefile.host clean TOPDIR=$(TOPDIR) APPDIR=$(APPDIR)
distclean: clean
@rm -f Make.dep .depend