diff options
| author | Karel Kočí <cynerd@email.cz> | 2015-05-07 13:31:09 +0200 | 
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2015-05-07 13:31:09 +0200 | 
| commit | 62d21b8b34727434cc6340caf47fe7e34636d507 (patch) | |
| tree | 2f71722ee29970be7f2b80b6f8468561fba4074d /scripts/permute/Makefile | |
| parent | 96b508f54e069e1b3ae5a4a9f8ebf122a6dd76bf (diff) | |
| download | linux-conf-perf-62d21b8b34727434cc6340caf47fe7e34636d507.tar.gz linux-conf-perf-62d21b8b34727434cc6340caf47fe7e34636d507.tar.bz2 linux-conf-perf-62d21b8b34727434cc6340caf47fe7e34636d507.zip  | |
Rename setpermute to permute
Diffstat (limited to 'scripts/permute/Makefile')
| -rw-r--r-- | scripts/permute/Makefile | 23 | 
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/permute/Makefile b/scripts/permute/Makefile new file mode 100644 index 0000000..3c25c99 --- /dev/null +++ b/scripts/permute/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  = permute.c +OBJ = $(patsubst %.c,%.o,$(SRC)) +CFLAGS = -O0 -Wall -ggdb -DDEBUG +INCLUDES = -I../shared + +%.o: %.c +	gcc -c $(CFLAGS) -o $@ $^ $(INCLUDES) + +permute: $(OBJ) $(KCONFIG_OBJ) +	gcc -o $@ $^ + +clean:: +	$(RM) $(OBJ) +	$(RM) setpermute  | 
