Makefile - Add pretty messages
This commit is contained in:
parent
52df4eae27
commit
c4e171cb80
1 changed files with 6 additions and 1 deletions
7
Makefile
7
Makefile
|
@ -16,16 +16,21 @@ clean:
|
|||
rm -rf $(clean-objs)
|
||||
|
||||
test: vgbc.test
|
||||
@./$<
|
||||
@echo " ... run test $<"; \
|
||||
./$< $(if $(V),-s,)
|
||||
|
||||
%.o: %.cpp $(headers)
|
||||
@echo " ... build $@"; \
|
||||
g++ $(CXX_FLAGS) -c -o $@ $<
|
||||
|
||||
libemu.a: $(emu-objs)
|
||||
@echo " ... pack $@"; \
|
||||
ar -rc $@ $^
|
||||
|
||||
vgbc: main.o libemu.a
|
||||
@echo " ==> link $@"; \
|
||||
g++ $(CXX_FLAGS) -o $@ $^
|
||||
|
||||
vgbc.test: $(test-objs) libemu.a
|
||||
@echo " ==> link $@"; \
|
||||
g++ $(CXX_FLAGS) -o $@ $^
|
||||
|
|
Loading…
Reference in a new issue