mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
Rename CFLAGS and friends to follow the conventions of the implicit rules defined by GNU Make: - $(CPPFLAGS) is passed to both C++ and C compiler - $(CXXFLAGS) is passed to C++ compiler only - $(CFLAGS) is passed to C compiler only - C++ compiler is in $(CXX) Signed-off-by: Jan Lindemann <jan@janware.com>
17 lines
331 B
Makefile
17 lines
331 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
|
|
$(CXX) $(BUILD_CXXFLAGS) $(BUILD_CPPFLAGS) -o $@ -c $<
|
|
|
|
clean.local:
|
|
$(RM) -f version.o
|
|
|
|
$(PLUGIN_VERSION_LIB): version.o
|
|
ar r $@ $<
|