I'm testing out a basic program called
getname that prompts the user for their name to store it in a string variable. However
make doesn't seem to work.
jharvard@ubuntu:~$ make getname cc getname.c -o getname /tmp/ccbnEu3b.o: In function `main': getname.c:(.text+0x16): undefined reference to `GetString' collect2: error: ld returned 1 exit status make: *** [getname] Error 1
The program does work, however, when I manually type out
clang. Some guidance on how to setup
make would be nice.