diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-05 08:42:10 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-05 08:42:10 -0400 |
commit | 36841bcf392f0ee7773a5e5696f14a819d6db58c (patch) | |
tree | 78f95dd529b58ef72f7aae12fa95e93884321301 /Makefile | |
parent | ff9b00848aa601cfd921b7074584e54e31d20782 (diff) |
cooler Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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
|