forked from katef/libfsm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (43 loc) · 814 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
37
38
39
40
41
42
43
44
45
46
47
48
49
.MAKEFLAGS: -r -m share/mk
# targets
all:: mkdir .WAIT dep .WAIT lib prog
dep::
gen::
test::
install:: all
clean::
# things to override
CC ?= gcc
BUILD ?= build
PREFIX ?= /usr/local
# layout
SUBDIR += include/fsm
SUBDIR += include/re
SUBDIR += src/adt
SUBDIR += src/libfsm
SUBDIR += src/libfsm/cost
SUBDIR += src/libfsm/out
SUBDIR += src/libfsm/pred
SUBDIR += src/libfsm/walk
SUBDIR += src/libre
SUBDIR += src/libre/dialect
SUBDIR += src/fsm
SUBDIR += src/re
SUBDIR += src/lx
SUBDIR += src/lx/out
INCDIR += include
# TODO: centralise
#DIR += ${BUILD}/bin
DIR += ${BUILD}/lib
.include <subdir.mk>
.include <sid.mk>
.include <lx.mk>
.include <obj.mk>
.include <dep.mk>
.include <ar.mk>
.include <so.mk>
.include <part.mk>
.include <prog.mk>
.include <mkdir.mk>
.include <install.mk>
.include <clean.mk>