forked from craigsapp/ATON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (31 loc) · 934 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu>
# Creation Date: Sat Jan 3 09:04:49 PST 2015
# Last Modified: Sat Jan 3 09:10:51 PST 2015
# Filename: .../lib/Makefile
# Syntax: GNU Makefile
#
# Description: Makefile for various processing of RationalNumber module.
#
# minifiy and mocha need to be installed first, if not already available:
# npm install -g minify
# npm install -g mocha
# If you do not have npm installed, then install node.js accoding to your
# system, such as:
# brew install node (Apple OS X)
# yum install node (Fedora linux)
#
.PHONY: test
all:
@echo
@echo "make test -- Run code tests"
@echo "make min -- Create minimized versions of JavaScript files"
@echo "make clean -- Remove minimized versions of JavaScript files"
@echo
min:
(cd lib; $(MAKE) min)
tests: test
test:
(cd test; $(MAKE))
clean:
(cd lib; $(MAKE) clean)