summaryrefslogtreecommitdiff
path: root/util/i915tool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/i915tool/Makefile')
-rw-r--r--util/i915tool/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/util/i915tool/Makefile b/util/i915tool/Makefile
new file mode 100644
index 0000000000..4cd807a6b4
--- /dev/null
+++ b/util/i915tool/Makefile
@@ -0,0 +1,20 @@
+source=main.c pci.c final/intel_bios.c final/drm_modes.c final/i915_drv.c
+
+all: probe
+
+broken: video
+
+video: $(source) final/intel_display.c
+ cc -include video.h -Iinputs -static -g -o video $(source) \
+ -lpci final/intel_display.c
+
+probe: $(source)
+ cc -include video.h -Iinputs -static -g -o probe $(source) -lpci
+clean:
+ rm -f *.o video probe
+
+moreclean: clean
+ rm final/* per-file-changes/* tmp/*
+
+superclean: moreclean
+ rm inputs/*