Skip to content

Commit 4b2196a

Browse files
committed
Makefile.rs90: print variables once in silent mode
1 parent 6e68e2f commit 4b2196a

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

Makefile.rs90

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,29 @@ X-OD-NeedsDownscaling=true
186186
endef
187187
export DESKTOP_ENTRY
188188

189-
all: $(TARGET) opk
189+
all: info $(TARGET) opk
190+
191+
define INFO
192+
ASFLAGS: $(ASFLAGS)
193+
CC: $(CC)
194+
CFLAGS: $(CFLAGS)
195+
CPPFLAGS: $(CPPFLAGS)
196+
CXX: $(CXX)
197+
CXXFLAGS: $(CXXFLAGS)
198+
DEFINES: $(DEFINES)
199+
LDFLAGS: $(LDFLAGS)
200+
LIBRARY_DIRS: $(LIBRARY_DIRS)
201+
LIBS: $(LIBS)
202+
LINK: $(LINK)
203+
OBJCFLAGS: $(OBJCFLAGS)
204+
RARCH_OBJ: $(RARCH_OBJ)
205+
endef
206+
export INFO
207+
208+
info:
209+
ifneq ($(V),1)
210+
@echo "$$INFO"
211+
endif
190212

191213
-include $(RARCH_OBJ:.o=.d)
192214

0 commit comments

Comments
 (0)