mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
utility to dump C defines
This commit is contained in:
parent
a29620e69c
commit
10afbf7fef
1 changed files with 6 additions and 0 deletions
6
sh/pre
Executable file
6
sh/pre
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
if [ -n "${ZSH_VERSION:-}" ]; then
|
||||||
|
$CC -dM -E - $=CFLAGS $=LDFLAGS < /dev/null
|
||||||
|
else
|
||||||
|
$CC -dM -E - $CFLAGS $LDFLAGS < /dev/null
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue