# Userspace Test Makefile CC = gcc CFLAGS = -Wall -Wextra -O2 -std=gnu11 -I../../kernel/include LDFLAGS = TARGET = test_vgpu_userspace SRC = test_vgpu_userspace.c all: $(TARGET) $(TARGET): $(SRC) $(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LDFLAGS) clean: rm -f $(TARGET) test: $(TARGET) @echo "Running userspace test (requires driver loaded)..." sudo ./$(TARGET) .PHONY: all clean test