Browse Source

increase verbosity, remove unnecessary dependencies

xayon40-12 4 years ago
parent
commit
2f558827c9
1 changed files with 7 additions and 8 deletions
  1. 7 8
      makefile

+ 7 - 8
makefile

@@ -1,5 +1,3 @@
-SHELL := /bin/bash
-
 CXX=g++
 CXXFLAGS=
 LDFLAGS=-lSDL
@@ -12,16 +10,17 @@ OBJ=$(SRC:.cpp=.o)
 
 $(EXEC): $(OBJ)
 	@mkdir -p bin
-	@$(CXX) -o bin/$@ $^ $(LDFLAGS) $(LIB)
+	$(CXX) -o bin/$@ $^ $(LDFLAGS) $(LIB)
 
-#TODO add .h in case off global variables
+#TODO add .h in case of global variables
 %.o : %.cpp 
-	@$(CXX) -o $@ -c $< $(CXXFLAGS) $(INC)
+	$(CXX) -o $@ -c $< $(CXXFLAGS) $(INC)
+	
 clean:
-	@rm -rf $(OBJ)
+	rm -rf $(OBJ)
 
 distclean: clean
-	@rm -rf $(EXEC)
+	rm -rf $(EXEC)
 
 exec: $(EXEC)
-	@./bin/$(EXEC)
+	./bin/$(EXEC)