-
This commit is contained in:
4
Makefile
4
Makefile
@@ -5,7 +5,7 @@ all:
|
||||
cmake -S ao-play-async -B build
|
||||
(cd build; make)
|
||||
|
||||
install:
|
||||
install: all
|
||||
SUBDIR=`racket -e "(display (format \"~a-~a\" (system-type 'os*) (system-type 'arch)))"`; \
|
||||
mkdir -p lib/$$SUBDIR
|
||||
SUBDIR=`racket -e "(display (format \"~a-~a\" (system-type 'os*) (system-type 'arch)))"`; \
|
||||
@@ -13,7 +13,7 @@ install:
|
||||
SUBDIR=`racket -e "(display (format \"~a-~a\" (system-type 'os*) (system-type 'arch)))"`; \
|
||||
FILES=`ls build/*.dll` 2>/dev/null; if [ "$$FILES" != "" ]; then cp $$FILES lib/$$SUBDIR; fi
|
||||
|
||||
zip:
|
||||
zip: install
|
||||
SUBDIR=`racket -e "(display (format \"~a-~a\" (system-type 'os*) (system-type 'arch)))"`; \
|
||||
(cd lib; zip -y -r -9 $$SUBDIR.zip $$SUBDIR)
|
||||
SUBDIR=`racket -e "(display (format \"~a-~a\" (system-type 'os*) (system-type 'arch)))"`; \
|
||||
|
||||
Reference in New Issue
Block a user