use gnu-make wildcard to get source files

This commit is contained in:
Steffen Jaeckel 2017-05-05 19:39:55 +02:00
parent 12cf50d4e2
commit 37fa03829c

View File

@ -85,8 +85,8 @@ endif
#List of demo objects
DSOURCES != ls demos/*.c
DOBJECTS = ${DSOURCES:.c=.o}
DSOURCES = $(wildcard demos/*.c)
DOBJECTS = $(DSOURCES:.c=.o)
#List of testprof headers
THEADERS != ls testprof/*.h