diff --git a/example/cubefile b/example/cubefile index 3fecafd..6d07ca3 100644 --- a/example/cubefile +++ b/example/cubefile @@ -1,6 +1,6 @@ rule all test -OBJ = [test.o foo.o bar.o] +OBJ = (strreplace (glob "*.c") ".c" ".o") rule test $OBJ [ echo " LD" $target