jw-pkg/make/plugin-version.mk
Jan Lindemann 634992f447 *.mk: Prefix non-env C/C++ flags with BUILD_
Prefix all CFLAGS / CPPFLAGS / LDFLAGS with BUILD_ to distinguish
them from flags read from the environment (and getting longer and
longer with +=).
2012-02-04 16:48:58 +00:00

17 lines
276 B
Makefile

include $(MODDIR)/make/plugin-defs.mk
include $(MODDIR)/make/defs.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 $@ $<