]> rtime.felk.cvut.cz Git - linux-conf-perf.git/blob - scripts/allconfig/Makefile
Allow importing lcp_django from other python scripts
[linux-conf-perf.git] / scripts / allconfig / Makefile
1 MAKEFLAGS += --no-builtin-rules
2 .PHONY: all clean
3 .SUFFIXES:
4
5 all: allconfig
6
7 KCONFIG_PREFIX = ../shared/kconfig
8 include $(KCONFIG_PREFIX)/files.mk
9
10 SRC  = allconfig.c \
11            inv.c
12 OBJ = $(patsubst %.c,%.o,$(SRC))
13 CFLAGS = -O0 -Wall -ggdb -DDEBUG
14 INCLUDES = -I../shared
15
16 %.o: %.c
17         gcc -c $(CFLAGS) -o $@ $^ $(INCLUDES)
18
19 allconfig: $(OBJ) $(KCONFIG_OBJ)
20         gcc -o $@ $^
21
22 clean::
23         $(RM) $(OBJ)
24         $(RM) allconfig