makefile: bugfix: filter out auto-generated files

This commit is contained in:
Michael Stapelberg 2011-07-11 19:30:26 +02:00
parent 29e2e696ed
commit 2897a761c8
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ include $(TOPDIR)/common.mk
# Depend on the object files of all source-files in src/*.c and on all header files
AUTOGENERATED:=src/cfgparse.tab.c src/cfgparse.yy.c src/cmdparse.tab.c src/cmdparse.yy.c
FILES:=$(wildcard src/*.c)
FILES:=$(filter-out $(AUTOGENERATED),$(wildcard src/*.c))
FILES:=$(FILES:.c=.o)
HEADERS:=$(filter-out include/loglevels.h,$(wildcard include/*.h))