-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
50 lines (42 loc) · 777 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
uninstall::
clean::
# things to override
CC ?= gcc
BUILD ?= build
PREFIX ?= /usr/local
# ${unix} is an arbitrary variable set by sys.mk
.if defined(unix)
.BEGIN::
@echo "We don't use sys.mk; run ${MAKE} with -r" >&2
@false
.endif
PKG += unibilium
PKG += termkey
PKG += libtelnet
# layout
SUBDIR += examples/advent
SUBDIR += examples/router
SUBDIR += examples
SUBDIR += src/io
SUBDIR += src
SUBDIR += pc
INCDIR += include
.include <subdir.mk>
.include <pkgconf.mk>
.include <pc.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>