2 CXXFLAGS
= -pedantic
-Wall
17 cppu.o
: cppu.
cpp cppu.h
18 $(GCC
) $(CXXFLAGS
) $(DEBUGFLAGS
) -c
-o
$@
$<
20 archive
: libcppu.a cppu.h
21 git archive
--prefix=cppu-
$(VERSION
)/ --format
=tar v
$(VERSION
) | gzip
> \
22 cppu-
$(VERSION
).
tar.gz
24 install: libcppu.a cppu.h
25 $(INSTALL
) -d
-m755
$(DESTDIR
)/lib
26 $(INSTALL
) -d
-m755
$(DESTDIR
)/include
27 $(INSTALL
) -d
-m755
$(DESTDIR
)/bin
28 $(INSTALL
) -m644 libcppu.a
$(DESTDIR
)/lib
/libcppu.a
29 $(INSTALL
) -m644 cppu.h
$(DESTDIR
)/include/cppu.h
30 $(INSTALL
) -m755 cppu-aggregate
$(DESTDIR
)/bin
/cppu-aggregate
33 $(RM
) $(DESTDIR
)/lib
/libcppu.a
34 $(RM
) $(DESTDIR
)/include/cppu.h
35 $(RM
) $(DESTDIR
)/bin
/cppu-aggregate
38 doxygen doc
/doxygen.conf
52 doc
/test: cppu.o doc
/example.
cpp
53 $(GCC
) $(CXXFLAGS
) $(DEBUGFLAGS
) -I.
/ -o doc
/test $^
57 .PHONY
: clean doc
install uninstall archive