use globs in example
parent
989433022c
commit
8b741cb99d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue