aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-05 08:42:10 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-05 08:42:10 -0400
commit36841bcf392f0ee7773a5e5696f14a819d6db58c (patch)
tree78f95dd529b58ef72f7aae12fa95e93884321301 /Makefile
parentff9b00848aa601cfd921b7074584e54e31d20782 (diff)
cooler Makefile
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