3 H_FILES := $(wildcard *.h)
4 C_FILES := $(wildcard *.c)
5 Y_FILES := $(wildcard *.y)
6 L_FILES := $(wildcard *.l)
8 SOURCE_FILES+=$(Y_FILES) $(C_FILES) $(L_FILES) $(H_FILES)
10 O_FILES+=$(addprefix $(outdir)/, $(Y_FILES:.y=.o) $(C_FILES:.c=.o) $(L_FILES:.l=.o))
12 TAGS_FILES += $(C_FILES) $(H_FILES)
16 ALL_C_SOURCES += $(H_FILES) $(C_FILES) $(Y_FILES) $(L_FILES)
20 DO_C_COMPILE = $(DODEP) $(CC) -c $(CFLAGS) $(C_OUTPUT_OPTION)
21 C_OUTPUT_OPTION = -o $@ $<
23 CFLAGS = $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS)