mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01:00 
			
		
		
		
	This allows detailed but selective debugging when using the library, particularly when something goes wrong. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
		
			
				
	
	
		
			46 lines
		
	
	
		
			686 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			686 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
default: libcrucible.a
 | 
						|
%.a: Makefile
 | 
						|
 | 
						|
CRUCIBLE_OBJS = \
 | 
						|
	bytevector.o \
 | 
						|
	btrfs-tree.o \
 | 
						|
	chatter.o \
 | 
						|
	city.o \
 | 
						|
	cleanup.o \
 | 
						|
	crc64.o \
 | 
						|
	error.o \
 | 
						|
	extentwalker.o \
 | 
						|
	fd.o \
 | 
						|
	fs.o \
 | 
						|
	multilock.o \
 | 
						|
	ntoa.o \
 | 
						|
	openat2.o \
 | 
						|
	path.o \
 | 
						|
	process.o \
 | 
						|
	seeker.o \
 | 
						|
	string.o \
 | 
						|
	table.o \
 | 
						|
	task.o \
 | 
						|
	time.o \
 | 
						|
	uname.o \
 | 
						|
 | 
						|
include ../makeflags
 | 
						|
-include ../localconf
 | 
						|
include ../Defines.mk
 | 
						|
 | 
						|
BEES_LDFLAGS = $(LDFLAGS)
 | 
						|
 | 
						|
configure.h: configure.h.in
 | 
						|
	$(TEMPLATE_COMPILER)
 | 
						|
 | 
						|
%.dep: %.cc configure.h Makefile
 | 
						|
	$(CXX) $(BEES_CXXFLAGS) -M -MF $@ -MT $(<:.cc=.o) $<
 | 
						|
 | 
						|
include $(CRUCIBLE_OBJS:%.o=%.dep)
 | 
						|
 | 
						|
%.o: %.cc ../makeflags
 | 
						|
	$(CXX) $(BEES_CXXFLAGS) -o $@ -c $<
 | 
						|
 | 
						|
libcrucible.a: $(CRUCIBLE_OBJS)
 | 
						|
	$(AR) rcs $@ $^
 |