From: Michael Stapelberg Date: Mon, 11 Jul 2011 17:30:26 +0000 (+0200) Subject: makefile: bugfix: filter out auto-generated files X-Git-Tag: tree-pr4~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2897a761c8e95d8ab701b7d8c5d09f9c3a4e972a;p=i3%2Fi3 makefile: bugfix: filter out auto-generated files --- diff --git a/Makefile b/Makefile index e35019e6..9774eff8 100644 --- a/Makefile +++ b/Makefile @@ -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))