-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
53 lines (34 loc) · 654 Bytes
/
Makefile
File metadata and controls
53 lines (34 loc) · 654 Bytes
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
.PHONY : all build test clean
export TOP = $(CURDIR)
export D_OUT = $(TOP)/bin/Debug
export CSC = gmcs
export CSFLAGS = -optimize
export LIBPATH = $(D_OUT)
MAKE_DIR = $(MAKE) -C
LIB_DIR = ManagedOpenSsl
TEST_DIR = test/UnitTests
all: build
lib:
$(MAKE_DIR) $(LIB_DIR)
build: $(D_OUT) lib build_test
build_test:
$(MAKE_DIR) $(TEST_DIR)
test: lib build_test
$(MAKE_DIR) $(TEST_DIR) test
clean: clean_lib clean_test
clean_lib:
$(MAKE_DIR) $(LIB_DIR) clean
clean_test:
$(MAKE_DIR) $(TEST_DIR) clean
install:
echo install
pkg:
echo pkg
dist:
echo disto
publish:
echo publish
release:
echo release
$(D_OUT):
mkdir -p $(D_OUT)