From 55f6137c0dd3f4932ec6d43a395c30b8b90a4710 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Mon, 24 Jul 2017 22:03:07 -0400 Subject: [PATCH] Add a Makefile for build tasks --- Makefile | 13 +++++++++++++ configure | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 Makefile create mode 100755 configure diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cff149a --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +INSTALLDIR := /usr/share/libretro/shaders/shaders_slang + +all: + @echo "Nothing to make for slang-shaders." + +install: + mkdir -p $(DESTDIR)$(INSTALLDIR) + cp -ar -t $(DESTDIR)$(INSTALLDIR) * + rm -f $(DESTDIR)$(INSTALLDIR)/Makefile \ + $(DESTDIR)$(INSTALLDIR)/configure + +test-install: all + DESTDIR=/tmp/build $(MAKE) install diff --git a/configure b/configure new file mode 100755 index 0000000..ee687aa --- /dev/null +++ b/configure @@ -0,0 +1,3 @@ +#!/bin/sh + +PACKAGE_NAME=slang-shaders