-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
60 lines (38 loc) · 1.44 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
############################################################################################### make + install
make:
@echo "SCC is headers only code, no preliminary compilation is needed."
@echo "After checking out from repo, it's in read-to-use state."
PREFIX=/usr/local
install:
@echo "not implemented - just use this (ro/) directory."
# mkdir -p ${PREFIX}/bin/
# cp -v ro ${PREFIX}/bin/
# mkdir -p ${PREFIX}/include/ro/
# cp -v *.h ${PREFIX}/include/ro/
############################################################################################### asciidoc gen
ASCIIDOC_FILTERS ?= /usr/share/asciidoc/filters
ifeq ($(USER),lvv)
HOMEDIR := /home/lvv/p/volnitsky.com/
INCLUDE := $(HOMEDIR)/include.mk
else
INCLUDE := /dev/null
endif
HTML_DIR=/tmp
include $(INCLUDE)
/tmp/t.ad: README.asciidoc
head -n-1 README.asciidoc > /tmp/t.ad
#index.html: /tmp/t.ad
#show: index.html
# google-chrome index.html &
# head -n-1 README.asciidoc > /tmp/t.ad
# make -B index.html
#COPY_LIST += $(wildcard *.png)
CLEAN_LIST += t-print t-regex t-meta
###########################################################
u-meta.cc: *.h
#CXXFLAGS += -std=gnu++11 -Wall -I/home/lvv/p/
CXXFLAGS += -Wall -I/home/lvv/p/ -I ..
t-buf-r: t-buf
######################################################## SCCPP
###################################################### Unit Tests
CXXFLAGS+= -std=gnu++11 -Wall -O0 -ggdb3 -D_GLIBCXX_DEBUG -fno-inline -I/home/lvv/p/