summaryrefslogtreecommitdiff
path: root/samples/auxdisplay/Makefile
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2016-09-16 07:36:21 -0600
committerShuah Khan <shuahkh@osg.samsung.com>2016-09-23 11:52:32 -0600
commit8fc07ebe63a40c312730da28e54dbb4fc6029ca3 (patch)
tree49a5b4e05471682b45760a8276033d102661ed64 /samples/auxdisplay/Makefile
parent071bf69a0220253a44acb8b2a27f7a262b9a46bf (diff)
downloadlwn-8fc07ebe63a40c312730da28e54dbb4fc6029ca3.tar.gz
lwn-8fc07ebe63a40c312730da28e54dbb4fc6029ca3.zip
samples: move auxdisplay example code from Documentation
Move auxdisplay examples to samples and remove it from Documentation Makefile. Create a new Makefile to build auxdisplay. It can be built from top level directory or from auxdisplay directory: Run make -C samples/auxdisplay or cd samples/auxdisplay; make Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'samples/auxdisplay/Makefile')
-rw-r--r--samples/auxdisplay/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/auxdisplay/Makefile b/samples/auxdisplay/Makefile
new file mode 100644
index 000000000000..05e471feb6e5
--- /dev/null
+++ b/samples/auxdisplay/Makefile
@@ -0,0 +1,9 @@
+CC := $(CROSS_COMPILE)gcc
+CFLAGS := -I../../usr/include
+
+PROGS := cfag12864b-example
+
+all: $(PROGS)
+
+clean:
+ rm -fr $(PROGS)