X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=jaguarcore.mak;h=45d2e4382813eac134fa79540a067a83f859a301;hb=97421b051237fbe8e117436101a9fedec417faa0;hp=31bd4a822cb0006b68bbe5c969179201e557768b;hpb=8eaab6439da19d5a346eb9cc9ff2e0b19bd0f6c3;p=virtualjaguar diff --git a/jaguarcore.mak b/jaguarcore.mak index 31bd4a8..45d2e43 100644 --- a/jaguarcore.mak +++ b/jaguarcore.mak @@ -7,6 +7,12 @@ # file GPLv3 for details. ;-) # +ifeq ("$(V)","1") +Q := +else +Q := @ +endif + # Cross compilation with MXE #CROSS = i686-pc-mingw32- @@ -113,12 +119,12 @@ obj: # Library rules (might not be cross-platform compatible) obj/libjaguarcore.a: $(OBJS) - @$(AR) $(ARFLAGS) obj/libjaguarcore.a $(OBJS) + $(Q)$(AR) $(ARFLAGS) obj/libjaguarcore.a $(OBJS) # Main source compilation (implicit rules)... obj/%.o: src/%.cpp @echo -e "\033[01;33m***\033[00;32m Compiling $<...\033[00m" - @$(CC) $(GCC_DEPS) $(CXXFLAGS) $(SDL_CFLAGS) $(DEFINES) $(INCS) -c $< -o $@ + $(Q)$(CC) $(GCC_DEPS) $(CXXFLAGS) $(SDL_CFLAGS) $(DEFINES) $(INCS) -c $< -o $@ -include obj/*.d