mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02: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:
parent
4df1b2c834
commit
3b85fc8bc7
@ -1,5 +1,3 @@
|
||||
TAG ?= $(shell git describe --always --dirty || echo UNKNOWN)
|
||||
|
||||
default: libcrucible.a
|
||||
%.a: Makefile
|
||||
|
||||
@ -37,12 +35,8 @@ configure.h: configure.h.in
|
||||
|
||||
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
|
||||
$(CXX) $(BEES_CXXFLAGS) -o $@ -c $<
|
||||
|
||||
libcrucible.a: $(CRUCIBLE_OBJS) .version.o
|
||||
libcrucible.a: $(CRUCIBLE_OBJS)
|
||||
$(AR) rcs $@ $^
|
||||
|
Loading…
x
Reference in New Issue
Block a user