MILSKO = ../milsko XEMIL = ../xemil CXX = g++ -std=c++98 LIB = lib SO = .so EXEC = .PHONY: all clean .SUFFIXES: .cxx .o all: libMwCXX$(SO) include objs.mk bindgen$(EXEC): bindgen.o $(CXX) -L$(XEMIL)/lib -L$(XEMIL)/src -o $@ bindgen.o -lxemil libMwCXX$(SO): $(OBJS) $(CXX) -shared -L$(MILSKO)/lib -L$(MILSKO)/src -o $@ $(OBJS) -lMw .cxx.o: $(CXX) -c -I$(MILSKO)/include -I$(XEMIL)/include -o $@ $< clean: rm -f *.so *.dll *.o *.exe bindgen.exe