12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- ################################################################################
- #
- # Copyright (c) 2013 Minoca Corp. All Rights Reserved
- #
- # Binary Name:
- #
- # Native Debugger
- #
- # Abstract:
- #
- # This program implements the native debugger (command line version),
- # which runs on Minoca OS.
- #
- # Author:
- #
- # Evan Green 27-May-2013
- #
- # Environment:
- #
- # User Mode
- #
- ################################################################################
- BINARY = debug
- BINPLACE = bin
- BINARYTYPE = app
- INCLUDES += $(SRCROOT)/os/apps/include; \
- $(SRCDIR)/..; \
- $(SRCROOT)/os/lib/im; \
- $(SRCROOT)/os/apps/include/libc;
- TARGETLIBS = $(OBJROOT)/os/lib/im/im.a \
- DYNLIBS = -lminocaos
- VPATH += $(SRCDIR)/..:
- include $(SRCDIR)/../sources
- OBJS = $(COMMON_OBJS) \
- cmdln.o \
- extsup.o \
- sock.o \
- include $(SRCROOT)/os/minoca.mk
- postbuild:
- @mkdir -p $(BINROOT)/skel/bin
- @if test $(BINROOT)/$(BINARY) -nt $(BINROOT)/skel/bin/$(BINARY); then \
- $(STRIP) -o $(BINROOT)/skel/bin/$(BINARY) $(BINROOT)/$(BINARY); \
- fi
|