diff --git a/GNUmakefile b/GNUmakefile index 319ff4d4..6fc33998 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -38,6 +38,10 @@ export CXXFLAGS export LDFLAGS export NODEBUG export EXAMPLE +export PREFIX + +# for Debian - see https://github.com/andlabs/libui/pull/10 +export DESTDIR # other important variables export OBJDIR @@ -57,10 +61,9 @@ test: libui example: libui @$(MAKE) -f build/GNUmakefile.example inlibuibuild=1 -# TODO examples rule? --> That's it right ? examples: - @$(MAKE) -f GNUmakefile example EXAMPLE=histogram #@$(MAKE) -f GNUmakefile example EXAMPLE=controlgallery + @$(MAKE) -f GNUmakefile example EXAMPLE=histogram .PHONY: examples diff --git a/build/GNUmakefile.libui b/build/GNUmakefile.libui index a4666720..f9ff61a8 100644 --- a/build/GNUmakefile.libui +++ b/build/GNUmakefile.libui @@ -41,4 +41,5 @@ endif include build/GNUbase$(TOOLCHAIN).mk # install rule is OS specific +# TODO probably better off making it a toolchain-wide rule include $(OS)/GNUinstall.mk