Browse Source

Clean up makefile

Enrico Guiraud 4 years ago
parent
commit
33415209ce
1 changed files with 1 additions and 13 deletions
  1. 1 13
      makefile

+ 1 - 13
makefile

@@ -4,8 +4,6 @@ CXX_FLAGS := -O3 -Wall -Wextra -Wpedantic
 
 CXX := g++ -std=c++11
 
-EDITOR := gedit
-
 CURSES := -lncurses
 
 THREADS := -pthread
@@ -23,6 +21,7 @@ all: invaders bossrush
 
 invaders: game_object.o bullet.o enemy.o player.o functions.o pic.o body.o boss.o wall.o powerup.o rocket.o invaders.o
 	$(CXX) $(CXX_FLAGS) $^ -o $@ $(OPTIONS)
+
 bossrush: game_object.o bullet.o enemy.o player.o functions.o pic.o body.o boss.o wall.o powerup.o rocket.o bossrush.o
 	$(CXX) $(CXX_FLAGS) $^ -o $@ $(OPTIONS) 
 
@@ -65,17 +64,6 @@ powerup.o: powerup.cpp powerup.hpp bullet.hpp
 rocket.o: rocket.cpp rocket.hpp bullet.hpp definitions.hpp
 	$(CXX) $(CXX_FLAGS) -c $<
 
-#UTILITIES
-
-open:  
-	$(EDITOR) *.cpp *.hpp makefile &
-
-openhpp:
-	$(EDITOR) *.hpp&
-
-opencpp:
-	$(EDITOR) *.cpp&
-
 clean:
 	rm -f *~ *.o