summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-01-24 22:37:42 +0100
committerJerome Glisse <jglisse@redhat.com>2010-01-24 22:37:42 +0100
commit05590d95d51e29e58534028c323847c199efebe5 (patch)
treec7057a84afa4914d8b2e519fad885bc425404ff5 /Makefile
r600/r700: winsys standalone testing
This is a standalone KMS program for testing and building the r600 winsys API. It does run as root when no X is running, will only work on non RV6XX (well might work on those but haven't tested).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3c20326
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+OBJECTS = radeon.o mode.o test.o r700_atom.o radeon_device.o radeon_atom.o\
+ r600_atom.o
+CFLAGS = -g3 -O0 -std=gnu99 -I/usr/include/drm
+LDFLAGS = -ldrm -ldrm_radeon
+DEPS = radeon.h
+
+radeonkmstest: $(OBJECTS)
+ gcc -o radeonkmstest $(OBJECTS) $(LDFLAGS)
+
+.c.o: $(DEPS)
+ gcc $(CFLAGS) -c $<
+
+clean:
+ rm -f *.o