Last active
January 4, 2016 15:40
-
-
Save binki/685b12e7e5722b7a95fd to your computer and use it in GitHub Desktop.
Some code which requires either C99/C11.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.exe | |
*.o | |
blah-c11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int argc, const char argv[]) | |
{ | |
for (int i = 0; i < 10; i++) | |
printf("%d\n", i); | |
for (int i = 0; i < 10; i++) | |
printf("%d\n", i); | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.POSYX: | |
.PHONY: all | |
all: blah-c11 | |
blah-c11: blah-c11.o | |
CFLAGS = -std=c11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment