-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (30 loc) · 961 Bytes
/
Makefile
File metadata and controls
35 lines (30 loc) · 961 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
CTG = ctypesgen.py
#WLZDIR = /opt/MouseAtlas/
#WLZDIR = $$HOME/MouseAtlas/Build
WLZDIR = $$HOME/MouseAtlas/Build/debug
CFLAGS = -shared -g
Wlz.py: libPyWlz.so
$(CTG) -o Wlz.py \
-I$(WLZDIR)/include \
-L. -L$(WLZDIR)/lib \
-l libPyWlz.so \
$(WLZDIR)/include/Wlz.h \
$(WLZDIR)/include/AlcType.h \
$(WLZDIR)/include/AlcProto.h \
$(WLZDIR)/include/AlgType.h \
$(WLZDIR)/include/AlgProto.h \
$(WLZDIR)/include/Wlz.h \
$(WLZDIR)/include/WlzType.h \
$(WLZDIR)/include/WlzProto.h \
$(WLZDIR)/include/WlzError.h \
$(WLZDIR)/include/WlzBnd.h \
$(WLZDIR)/include/WlzBndType.h \
$(WLZDIR)/include/WlzBndProto.h
libPyWlz.so:
$(CC) $(CFLAGS) -o $@ \
-Wl,--whole-archive \
-L$(WLZDIR)/lib -lWlzBnd -lWlz -lAlg -lAlc \
-Wl,--no-whole-archive \
-lgomp
clean:
$(RM) Wlz.py Wlz.pyc libPyWlz.so