mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 12:10:34 +01:00 
			
		
		
		
	Merge branch 'master' into subvol-threads
This commit is contained in:
		@@ -1,3 +1,5 @@
 | 
			
		||||
TAG := $(shell git describe --always --dirty || echo UNKNOWN)
 | 
			
		||||
 | 
			
		||||
default: libcrucible.so
 | 
			
		||||
 | 
			
		||||
OBJS = \
 | 
			
		||||
@@ -23,13 +25,13 @@ depends.mk: *.cc
 | 
			
		||||
	mv -fv depends.mk.new depends.mk
 | 
			
		||||
 | 
			
		||||
.version.cc: Makefile ../makeflags *.cc ../include/crucible/*.h
 | 
			
		||||
	echo "namespace crucible { const char *VERSION = \"$(shell git describe --always --dirty || echo UNKNOWN)\"; }" > .version.new.cc
 | 
			
		||||
	echo "namespace crucible { const char *VERSION = \"$(TAG)\"; }" > .version.new.cc
 | 
			
		||||
	mv -f .version.new.cc .version.cc
 | 
			
		||||
 | 
			
		||||
-include depends.mk
 | 
			
		||||
 | 
			
		||||
%.o: %.cc ../include/crucible/%.h
 | 
			
		||||
	$(CXX) $(CXXFLAGS) -o $@ -c $<
 | 
			
		||||
	$(CXX) $(CXXFLAGS) -fPIC -o $@ -c $<
 | 
			
		||||
 | 
			
		||||
libcrucible.so: $(OBJS) Makefile
 | 
			
		||||
	$(CXX) $(LDFLAGS) -o $@ $(OBJS) -shared -luuid
 | 
			
		||||
	$(CXX) $(LDFLAGS) -fPIC -o $@ $(OBJS) -shared -Wl,-soname,$@ -luuid
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user