mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-04 04:00:36 +01:00 
			
		
		
		
	lib: drop version.cc entirely
crucible::VERSION doesn't make much sense now that libcrucible no longer exists as a shared library. Nothing ever referenced it, so it can go away. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
		@@ -1,5 +1,3 @@
 | 
				
			|||||||
TAG ?= $(shell git describe --always --dirty || echo UNKNOWN)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
default: libcrucible.a
 | 
					default: libcrucible.a
 | 
				
			||||||
%.a: Makefile
 | 
					%.a: Makefile
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -37,12 +35,8 @@ configure.h: configure.h.in
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
include $(CRUCIBLE_OBJS:%.o=%.dep)
 | 
					include $(CRUCIBLE_OBJS:%.o=%.dep)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.version.cc: configure.h Makefile ../makeflags $(CRUCIBLE_OBJS:.o=.cc) ../include/crucible/*.h
 | 
					 | 
				
			||||||
	echo "namespace crucible { const char *VERSION = \"$(TAG)\"; }" > $@.new
 | 
					 | 
				
			||||||
	if ! cmp "$@.new" "$@"; then mv -fv $@.new $@; fi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
%.o: %.cc ../makeflags
 | 
					%.o: %.cc ../makeflags
 | 
				
			||||||
	$(CXX) $(BEES_CXXFLAGS) -o $@ -c $<
 | 
						$(CXX) $(BEES_CXXFLAGS) -o $@ -c $<
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libcrucible.a: $(CRUCIBLE_OBJS) .version.o
 | 
					libcrucible.a: $(CRUCIBLE_OBJS)
 | 
				
			||||||
	$(AR) rcs $@ $^
 | 
						$(AR) rcs $@ $^
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user