Created
March 14, 2016 21:52
-
-
Save michaelwehrley/b04f91ea4c3ae69f0387 to your computer and use it in GitHub Desktop.
Additional instructions to use cs50
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
# You can download cs50 library from https://manual.cs50.net/library/#mac_os_2 and follow the instructions to download. | |
# You will have to manually link (`-I /usr/local/include -L /usr/local/lib -lcs50 -lm` for the linking step of compilation to work) | |
# to the 'include' and 'lib' directories in your makefiles if you want to use the cs50 library. | |
# | |
# Makefile | |
# | |
# Computer Science 50 | |
# Problem Set 3 | |
# | |
# Example Makefile for Problem Set 3 below | |
fifteen: fifteen.c | |
clang -ggdb3 -O0 -std=c11 -Wall -Werror -o fifteen fifteen.c -I /usr/local/include -L /usr/local/lib -lcs50 -lm | |
clean: | |
rm -f *.o a.out core fifteen log.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment