mirror of
https://github.com/thiagoauler/apple1.git
synced 2024-11-21 09:31:46 +00:00
-lcurses
This commit is contained in:
parent
963694d1f9
commit
b671408ce3
4
build.sh
4
build.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user