Add a Makefile for build tasks

This commit is contained in:
Rob Loach 2017-07-24 22:03:07 -04:00
parent 179395d58f
commit 55f6137c0d
No known key found for this signature in database
GPG key ID: 627C60834A74A21A
2 changed files with 16 additions and 0 deletions

13
Makefile Normal file
View file

@ -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

3
configure vendored Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
PACKAGE_NAME=slang-shaders