This commit is contained in:
Thiago Auler 2017-11-20 12:40:38 -02:00 committed by GitHub
parent 963694d1f9
commit b671408ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ rm -f $EXEC_NAME
# build all source code
for FILE in $SRC_FOLDER/*.c
do
cc -g -c $FILE
cc -g -c $FILE -lcurses
done
# move all objects to appropriate folder
@ -17,4 +17,4 @@ mkdir -p $OBJ_FOLDER
mv *.o $OBJ_FOLDER
# create executable out of the objects
cc -g -o $EXEC_NAME $OBJ_FOLDER/*.o
cc -g -o $EXEC_NAME $OBJ_FOLDER/*.o -lcurses