diff options
author | Karel Kočí <cynerd@email.cz> | 2015-05-06 11:55:16 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-05-07 13:25:59 +0200 |
commit | 96b508f54e069e1b3ae5a4a9f8ebf122a6dd76bf (patch) | |
tree | 4ec908d06872f228b081c0932874c071b67962c8 /scripts/setpermute/Makefile | |
parent | 4e2a6b5219f469c4b05628a0133340ba2fa2d807 (diff) | |
download | linux-conf-perf-96b508f54e069e1b3ae5a4a9f8ebf122a6dd76bf.tar.gz linux-conf-perf-96b508f54e069e1b3ae5a4a9f8ebf122a6dd76bf.tar.bz2 linux-conf-perf-96b508f54e069e1b3ae5a4a9f8ebf122a6dd76bf.zip |
Add initial implementation of setpermute
Diffstat (limited to 'scripts/setpermute/Makefile')
-rw-r--r-- | scripts/setpermute/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/setpermute/Makefile b/scripts/setpermute/Makefile new file mode 100644 index 0000000..734a12e --- /dev/null +++ b/scripts/setpermute/Makefile @@ -0,0 +1,23 @@ +MAKEFLAGS += --no-builtin-rules +.PHONY: all clean +.SUFFIXES: + +all: setpermute + +KCONFIG_PREFIX = ../shared/kconfig +include $(KCONFIG_PREFIX)/files.mk + +SRC = setpermute.c +OBJ = $(patsubst %.c,%.o,$(SRC)) +CFLAGS = -O0 -Wall -ggdb -DDEBUG +INCLUDES = -I../shared + +%.o: %.c + gcc -c $(CFLAGS) -o $@ $^ $(INCLUDES) + +setpermute: $(OBJ) $(KCONFIG_OBJ) + gcc -o $@ $^ + +clean:: + $(RM) $(OBJ) + $(RM) setpermute |