---
gcc48:
    executable: gcc
    version: %(executable) --version
    build: %(executable) -O2 %(source) -o %(output)
    run: %(output)

clang:
    executable: clang
    version: %(executable) --version
    build: %(executable) -O2 %(source) -o %(output)
    run: %(output)

---
gcc48:
    executable: gcc
    version: %(executable) --version
    build: %(executable) -O2 %(CFLAGS) %(LDFLAGS) %(source) -o %(output)
    run: %(output)

clang:
    executable: clang
    version: %(executable) --version
    build: %(executable) -O2 %(CFLAGS) %(LDFLAGS) %(source) -o %(output)
    run: %(output)

Add CFLAGS and LDFLAGS options to the build line
Add CFLAGS and LDFLAGS options to the build line
