1
0

Makefile 1008 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ################################################################################
  2. #
  3. # Copyright (c) 2016 Minoca Corp.
  4. #
  5. # This file is licensed under the terms of the GNU General Public License
  6. # version 3. Alternative licensing terms are available. Contact
  7. # info@minocacorp.com for details. See the LICENSE file at the root of this
  8. # project for complete licensing information.
  9. #
  10. # Binary Name:
  11. #
  12. # netcon
  13. #
  14. # Abstract:
  15. #
  16. # This executable implements the network configuration application.
  17. #
  18. # Author:
  19. #
  20. # Chris Stevens 14-Mar-2016
  21. #
  22. # Environment:
  23. #
  24. # User
  25. #
  26. ################################################################################
  27. BINARY = netcon
  28. BINPLACE = bin
  29. BINARYTYPE = app
  30. INCLUDES += $(SRCROOT)/os/apps/libc/include; \
  31. OBJS = netcon.o \
  32. DYNLIBS = -lminocaos -lnetlink
  33. LDFLAGS += -L$(BINROOT)
  34. include $(SRCROOT)/os/minoca.mk
  35. postbuild:
  36. @mkdir -p $(BINROOT)/skel/bin
  37. @$(STRIP) -p -o $(BINROOT)/skel/bin/$(BINARY) $(BINROOT)/$(BINARY)