Cleaned up some things related to the previous merge.

This commit is contained in:
Pietro Gagliardi 2016-01-04 15:52:39 -05:00
parent 24f7c2d803
commit 9570981b50
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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