Extract more symbolic information from the tree.
[panamaz] / src / Makefile
1
2 PLUGINDIR=$(shell gcc -print-file-name=plugin)
3
4 CXXFLAGS=-fPIC -Wall -Wno-switch -g
5 CPPFLAGS=-I. -I$(PLUGINDIR)/include
6
7 all: export.so
8
9 export.o: export.cc list.h
10 export.so: export.o tree-codes.o
11         $(CC) $(INCLUDE) -shared -fPIC -o $@ $^
12
13 clean:
14         rm -f export.o tree-codes.o export.so
15
16 .PHONY: clean