Fixed extglob in Makefile

This commit is contained in:
Jarcode
2019-03-12 16:30:03 -07:00
parent d640ac5d3c
commit 5c9d974252

View File

@@ -1,4 +1,5 @@
SHELL := /bin/bash
.SHELLFLAGS="-O extglob -c"
src = $(wildcard *.c)
obj = $(src:.c=.o)
@@ -123,7 +124,7 @@ SHADERTARGET = $(shell readlink -m "$(DESTDIR)$(SHADERDIR)")
install:
install -Dm755 glava $(EXECTARGET)
install -d $(SHADERTARGET)
shopt -s extglob && cp -Rv shaders/!(test|test_rc.glsl) $(SHADERTARGET)
cp -Rv shaders/!(test|test_rc.glsl) $(SHADERTARGET)
.PHONY: uninstall
uninstall: