Last active
December 26, 2015 22:59
-
-
Save linus-young/7227478 to your computer and use it in GitHub Desktop.
This file contains 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
# | |
# description | |
# D_GNU_SOURCE is for GNU extension | |
# | |
all: project_name | |
clean: | |
rm -f exec_file | |
project_name: main.c | |
# cc -o exec_file main.c | |
gcc -Wall main.c other.c -o exec_file -D_GNU_SOURCE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment