ishikawa / pekoe

The Pekoe programming language (still in the early development/planning process). Nothing is really usable yet, though quite a few things are working.

This URL has Read+Write access

pekoe / Makefile
100644 39 lines (27 sloc) 0.781 kb
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
37
38
39
# Top Makefile for Pekoe
 
.PHONY: all test check clean distclean cxx doc check-full
 
SUBDIRS = src test
 
all:
for d in $(SUBDIRS); do (cd $$d; $(MAKE) all); done
 
test: check
 
check:
for d in $(SUBDIRS); do (cd $$d; $(MAKE) check); done
 
clean:
for d in $(SUBDIRS); do (cd $$d; $(MAKE) clean); done
 
distclean: clean
#for d in $(SUBDIRS); do (cd $$d; $(MAKE) distclean); done
-rm -rf doc/api/*
 
cxx:
make clean
CC=g++ make check
make clean
 
doc:
doxygen doc/doxygen.conf
 
check-full:
mkdir -p test/coverage
lcov --directory src --zerocounters
make clean
CFLAGS="-fprofile-arcs -ftest-coverage" make check
cd src; gcov *.o
lcov --directory src --capture --output-file test/coverage/coverage.info
genhtml --output-directory test/coverage test/coverage/coverage.info