realm_hook 0.1.5

Realm's flexible hooks.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CXX := g++
CXXFLAGS += -std=c++11
CXXFLAGS += -s -O2 -shared -fPIC

SRCS := $(wildcard *.cpp)
DYLIBS := $(SRCS:%.cpp=%.so)

all: $(DYLIBS)

$(DYLIBS): %.so: %.cpp
	$(CXX) $(CXXFLAGS) $< -o $@


.PHONY: clean
clean:
	rm $(DYLIBS)