mirror of https://github.com/flysand7/ciabatta.git
24 lines
426 B
C
24 lines
426 B
C
#include<stdio.h>
|
|
#include<stdlib.h>
|
|
|
|
int main()
|
|
{
|
|
char *include = getenv("INCLUDE");
|
|
printf(" ");
|
|
while(*include != 0) {
|
|
printf("-I \"");
|
|
while(*include != ';' && *include != 0) {
|
|
if (*include == '\\') {
|
|
printf("/");
|
|
} else {
|
|
printf("%c", *include);
|
|
}
|
|
*include++;
|
|
}
|
|
if(*include == ';') {
|
|
++include;
|
|
}
|
|
printf("\" ");
|
|
}
|
|
}
|