From 96b508f54e069e1b3ae5a4a9f8ebf122a6dd76bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 6 May 2015 11:55:16 +0200 Subject: Add initial implementation of setpermute --- scripts/setpermute/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 scripts/setpermute/Makefile (limited to 'scripts/setpermute/Makefile') 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 -- cgit v1.2.3