Browse Source

kamcmd: allow defining the name of the application from command line

cd utils/kamcmd/
make NAME=mykamcmd ...
Daniel-Constantin Mierla 8 years ago
parent
commit
1774cee620
1 changed files with 5 additions and 3 deletions
  1. 5 3
      utils/kamcmd/Makefile

+ 5 - 3
utils/kamcmd/Makefile

@@ -1,4 +1,6 @@
-# $Id$
+#
+#
+
 COREPATH=../../src/
 include $(COREPATH)/Makefile.defs
 include $(COREPATH)/Makefile.targets
@@ -7,9 +9,9 @@ auto_gen=
 RELEASE=0.2
 UTIL_SRC_NAME=kamcmd
 ifeq ($(FLAVOUR),ser)
-	NAME=sercmd
+	NAME?=sercmd
 else
-	NAME=kamcmd
+	NAME?=kamcmd
 endif
 
 readline_locations= /usr/include/readline/readline.h \