makefile: don’t pick up autogenerated files
This commit is contained in:
parent
f9da0d5ded
commit
036ecba1d1
|
@ -4,7 +4,8 @@ TOPDIR=..
|
||||||
include $(TOPDIR)/common.mk
|
include $(TOPDIR)/common.mk
|
||||||
|
|
||||||
# Depend on the object files of all source-files in src/*.c and on all header files
|
# Depend on the object files of all source-files in src/*.c and on all header files
|
||||||
FILES:=$(patsubst %.c,%.o,$(wildcard *.c))
|
AUTOGENERATED:=cfgparse.tab.c cfgparse.yy.c
|
||||||
|
FILES:=$(patsubst %.c,%.o,$(filter-out $(AUTOGENERATED),$(wildcard *.c)))
|
||||||
HEADERS:=$(wildcard *.h)
|
HEADERS:=$(wildcard *.h)
|
||||||
|
|
||||||
# Depend on the specific file (.c for each .o) and on all headers
|
# Depend on the specific file (.c for each .o) and on all headers
|
||||||
|
|
Loading…
Reference in New Issue