From 37fa03829c4afc78dfecf3c9ca8ae645d59abf92 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Fri, 5 May 2017 19:39:55 +0200 Subject: [PATCH] use gnu-make `wildcard` to get source files --- makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile.include b/makefile.include index 081254a..6af569f 100644 --- a/makefile.include +++ b/makefile.include @@ -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