diff options
Diffstat (limited to 'scripts/write_config/Makefile')
-rw-r--r-- | scripts/write_config/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/write_config/Makefile b/scripts/write_config/Makefile index bab1f4b..ec56a87 100644 --- a/scripts/write_config/Makefile +++ b/scripts/write_config/Makefile @@ -2,24 +2,22 @@ MAKEFLAGS += --no-builtin-rules .PHONY: all clean .SUFFIXES: -all: write +all: write_config KCONFIG_PREFIX = ../shared/kconfig include $(KCONFIG_PREFIX)/files.mk -SRC = write.c \ - symlist.c \ - solution.c +SRC = write_config.c OBJ = $(patsubst %.c,%.o,$(SRC)) -CFLAGS = -O0 -w -ggdb +CFLAGS = -O0 -Wall -ggdb INCLUDES = -I../shared %.o: %.c gcc -c $(CFLAGS) -o $@ $^ $(INCLUDES) -write: $(OBJ) $(KCONFIG_OBJ) +write_config: $(OBJ) $(KCONFIG_OBJ) gcc -o $@ $^ clean:: $(RM) $(OBJ) - $(RM) write + $(RM) write_config |