-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 679 Bytes
/
Makefile
File metadata and controls
32 lines (25 loc) · 679 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
# This is the raw Makefile for quadtree; you probably
# want config.mk instead.
include config.mk
all: $(MAINOBJS)
ar rcs libquadtree.a $(MAINOBJS)
install: all
mkdir -p $(LIBDIR); mkdir -p $(INCLUDEDIR)
cp libquadtree.a $(LIBDIR)
cp quadtree.h $(INCLUDEDIR)
cp aabb.h $(INCLUDEDIR)
uninstall:
rm $(LIBDIR)/libquadtree.a
rm $(INCLUDEDIR)/quadtree.h
rm $(INCLUDEDIR)/aabb.h
clean:
rm -f $(MAINOBJS)
rm -f libquadtree.a
docs:
mkdir -p docs/
doxygen Doxyfile
release:
mkdir -p quadtree-$(VERSION)
cp *.[c,h] Makefile config.mk README.md LICENSE Doxyfile quadtree-$(VERSION)/
tar -czvf quadtree-$(VERSION).tar.gz quadtree-$(VERSION)
rm -rf quadtree-$(VERSION)