Reverting.

This commit is contained in:
emeryberger 2017-08-06 21:44:45 -04:00
parent 058f5b7d8a
commit a8cb50e981
2 changed files with 2 additions and 6 deletions

View File

@ -9,12 +9,9 @@ bench::
check::
make -C libcoz $@
doc::
install::
$(INSTALL) -D coz $(DESTDIR)$(bindir)/coz
$(INSTALL) -D include/coz.h $(DESTDIR)$(incdir)/coz.h
$(INSTALL) -D doc/coz.1 $(DESTDIR)$(mandir)/coz.1
distclean::
@for dir in deps/libelfin ; do \

View File

@ -3,7 +3,6 @@ prefix = /usr
bindir = $(prefix)/bin
pkglibdir = $(prefix)/lib/coz-profiler
incdir = $(prefix)/include
mandir = $(prefix)/man
INSTALL = install
@ -28,7 +27,7 @@ SRCS ?= $(wildcard *.cpp) $(wildcard *.c)
OBJS ?= $(addprefix obj/,$(patsubst %.cpp,%.o,$(patsubst %.c,%.o,$(SRCS))))
# Targets to build recirsively into $(DIRS)
RECURSIVE_TARGETS ?= all clean distclean bench doc test install
RECURSIVE_TARGETS ?= all clean distclean bench test install
# Build in parallel
MAKEFLAGS := -j
@ -61,7 +60,7 @@ distclean:: clean
test::
# Prevent errors if files named all, clean, distclean, bench, or test exist
.PHONY: all clean distclean bench test doc
.PHONY: all clean distclean bench test
# Compile a C++ source file (and generate its dependency rules)
obj/%.o: %.cpp $(PREREQS)