jw-pkg/make/plugin-version.mk
Jan Lindemann 316435bb78 $(MODDIR)/make/defs.mk: Split off defs-cpp.mk with C++ definitions
C++ definitions are numerous, and they shouldn't pollute variable space and
performance outside of directories containing C++ files. This commit pushes
them into a defs-cpp.mk file.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-02-27 20:46:54 +00:00

18 lines
314 B
Makefile

include $(MODDIR)/make/plugin-defs.mk
include $(MODDIR)/make/defs.mk
include $(MODDIR)/make/defs-cpp.mk
all: $(PLUGIN_VERSION_LIB)
install:
clean: clean.local
distclean:
version.o: version.cpp
$(CPP) $(BUILD_CPPFLAGS) -o $@ -c $<
clean.local:
$(RM) -f version.o
$(PLUGIN_VERSION_LIB): version.o
ar r $@ $<