We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4989c6 commit d86a761Copy full SHA for d86a761
Makefile
@@ -1,22 +1,23 @@
1
2
LIBSRC = $(shell find src/Language -name \*.hs) $(LEXER) $(GRAMMAR)
3
+TESTSRC = $(shell find Tests -name \*.hs)
4
5
LEXER = dist/build/Language/JavaScript/Parser/Lexer.hs
6
GRAMMAR = dist/build/Language/JavaScript/Parser/Grammar5.hs
7
8
GHC = cabal exec -- ghc
-GHCFLAGS = -Wall -fwarn-tabs -rtsopts -prof -auto-all -caf-all
9
+GHCFLAGS = -Wall -fwarn-tabs
10
11
-check : runtests.exe
12
- ./runtests.exe
+check : testsuite.exe
13
+ ./testsuite.exe
14
15
16
clean :
17
find dist/build/ src/ -name \*.{o -o -name \*.hi | xargs rm -f
18
rm -f $(LEXER) $(GRAMMAR) $(TARGETS) *.exe
19
-%.exe : %.hs $(LIBSRC)
20
+testsuite.exe : testsuite.hs $(LIBSRC) $(TESTSRC)
21
$(GHC) $(GHCFLAGS) -O2 -i:src -i:dist/build --make $< -o $@
22
23
0 commit comments