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

Open
opened 2023-01-24 18:22:00 -06:00 by scott · 0 comments
#ifdef TEST
This is ASM or something intended for the TEST platform.
#endif
gcc -DTEST -E test.c | grep -v ^# | sed '/^[[:blank:]]*$/ d'
``` #ifdef TEST This is ASM or something intended for the TEST platform. #endif ``` ``` gcc -DTEST -E test.c | grep -v ^# | sed '/^[[:blank:]]*$/ d' ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Public_Skunkworks/joeybuild#1
No description provided.