Use GCC pre-processor to select platform-dependent files. #1

scott
commented 2023-01-24 18:22:00 -06:00
(Migrated from skunkworks.kangaroopunch.com)
```
#ifdef TEST
This is ASM or something intended for the TEST platform.
#endif
```
```
gcc -DTEST -E test.c | grep -v ^# | sed '/^[[:blank:]]*$/ d'
```
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?