Replies: 1 comment
|
Drop the paths into myLib:
desc: Create the library
deps: [create-libdir]
vars:
SRC: "myLib/*.c"
OUT: libmyLib.a
sources:
- "{{.SRC}}"
generates:
- "{{.OUT}}"
cmd: gcc -static -o {{.OUT}} {{.SRC}}
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to get this syntax working: access the
generatesitems in thecmd? I'm big on DRY, so I'd like to not repeat this same information:All reactions