# rmq - RM query tool (userspace RM API client)
#
# Queries the host NVIDIA Resource Manager via /dev/nvidia0 ioctls.
# Used as an "oracle" to extract ground-truth static GPU data (device info
# tables, static config) from the host's real GSP-RM for the GSP-RM emulation
# layer (kernel/gsp_rm_emulation.c).

CC      ?= gcc
CFLAGS  ?= -O2 -Wall

all: rmq

rmq: rmq.c
	$(CC) $(CFLAGS) -o $@ $<

clean:
	rm -f rmq

.PHONY: all clean
