aboutsummaryrefslogtreecommitdiff
path: root/scripts/permute_conf/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-21 19:24:24 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-21 19:24:24 +0200
commit2c46c7e4b57604a299b0639560934e1f523f725a (patch)
tree6b50892eafe43d923b2e9141f56e484a04bd75f9 /scripts/permute_conf/Makefile
parentc53827c97a8f749d7bd2e993c7fc5792d94435a3 (diff)
downloadlinux-conf-perf-2c46c7e4b57604a299b0639560934e1f523f725a.tar.gz
linux-conf-perf-2c46c7e4b57604a299b0639560934e1f523f725a.tar.bz2
linux-conf-perf-2c46c7e4b57604a299b0639560934e1f523f725a.zip
Rename program permute to permute_conf
Diffstat (limited to 'scripts/permute_conf/Makefile')
-rw-r--r--scripts/permute_conf/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/permute_conf/Makefile b/scripts/permute_conf/Makefile
new file mode 100644
index 0000000..e0f7cd2
--- /dev/null
+++ b/scripts/permute_conf/Makefile
@@ -0,0 +1,25 @@
+MAKEFLAGS += --no-builtin-rules
+.PHONY: all clean
+.SUFFIXES:
+
+all: permute_conf
+
+KCONFIG_PREFIX = ../shared/kconfig
+include $(KCONFIG_PREFIX)/files.mk
+
+SRC = permute_conf.c \
+ menudata.c \
+ dotconf.c
+OBJ = $(patsubst %.c,%.o,$(SRC))
+CFLAGS = -O0 -Wall -ggdb -DDEBUG
+INCLUDES = -I../shared
+
+%.o: %.c
+ gcc -c $(CFLAGS) -o $@ $^ $(INCLUDES)
+
+permute_conf: $(OBJ) $(KCONFIG_OBJ)
+ gcc -o $@ $^
+
+clean::
+ $(RM) $(OBJ)
+ $(RM) permute_conf