1 # Generic makefile for mBuild build process
6 INSERT_BUILD = /usr/share/mbuild/insert_build.sh
11 all: $(DEPS) $(SOURCE:%.cpp=%.o) $(TARGET)
21 %.a: $(SOURCE:%.cpp=%.o)
24 %.so: $(SOURCE:%.cpp=%.o) $(LDLIBS)
25 $(CXX) -shared -o $(TARGET) *.o $(LDLIBS) $(EXTLIB)
27 #make.pre: ~/build/debian/rules.pre
28 # cp ~/build/debian/rules.pre make.pre
31 # defile default operations
33 #-----------------------------------------------------------------
35 #-----------------------------------------------------------------
36 %.pdf : %.tex $(SOURCES)
37 pdflatex $< && pdflatex $<
41 mdoc-extract $< ${DOC_CLASS}