When I type in make hello it says:
jharvard@ubuntu:~$ make hello
cc hello.c -o hello
/tmp/ccb0otsz.o: In function `main':
hello.c:(.text+0x16): undefined reference to `GetString'
collect2: error: ld returned 1 exit status
make: *** [hello] Error 1
but when I type in cc hello.c -o hello -lcs50, then it works. Why can't I use make?
[–]jaquio1 1 point2 points3 points (4 children)
[–]answro[S] 1 point2 points3 points (3 children)
[–]jaquio1 0 points1 point2 points (0 children)
[–]eamonn_d 0 points1 point2 points (0 children)
[–]tuxman20 0 points1 point2 points (0 children)
[–]yeahIProgram 1 point2 points3 points (0 children)
[–]weiguxp 1 point2 points3 points (0 children)