aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index aebbfc6..e571e03 100644
--- a/Makefile
+++ b/Makefile
@@ -8,11 +8,14 @@ SRCS = $(wildcard src/*.cpp)
OUT = $(SRCS:.cpp=.o)
.cpp.o:
- g++ -o $@ -c $^ $(LIBS_LINUX) $(FLAGS)
+ @echo " CXX " $^
+ @g++ -o $@ -c $^ $(LIBS_LINUX) $(FLAGS)
all: $(OUT)
- mv ./src/*.o ./out
- g++ -o main main.cpp out/*.o $(LIBS_LINUX) $(FLAGS)
+ @echo "Relocating object files..."
+ @mv ./src/*.o ./out
+ @echo " CXX main.cpp"
+ @g++ -o main main.cpp out/*.o $(LIBS_LINUX) $(FLAGS)
clean:
-rm main