瀏覽代碼

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

cd utils/kamcmd/
make NAME=mykamcmd ...
Daniel-Constantin Mierla 8 年之前
父節點
當前提交
1774cee620
共有 1 個文件被更改,包括 5 次插入3 次删除
  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 \