Skip to content

Commit

Permalink
Makefile editing
Browse files Browse the repository at this point in the history
  • Loading branch information
shaswata56 committed Dec 17, 2018
1 parent 927506d commit ff38e22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion Header/physX.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ void updateMovement()
velocityY += gravity;
}

/// This doesn't work sometime... Gotta fix!
else if(y > ground){
y = ground;
pressUpCount = 0;
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
LIBS=-lsfml-graphics -lsfml-audio -lsfml-network -lsfml-window -lsfml-system

all:
@echo "** Building the game"
@echo "Installing Dependency"
sudo apt install libsfml-dev
@echo "** Building the game **"
g++ -c "Source/Taos-Adventure.cpp" -o Taos-Adventure.o
g++ -o Taos-Adventure Taos-Adventure.o $(LIBS)
rm Taos-Adventure.o
Expand Down

0 comments on commit ff38e22

Please sign in to comment.