libui/GNUmakefile

36 lines
759 B
Makefile
Raw Normal View History

# 16 october 2015
2015-11-27 19:52:56 -06:00
# TODO warn on MinGW-w64 builds that lack of isolation awareness means no theming
# silence entering/leaving messages
MAKEFLAGS += --no-print-directory
2015-10-16 21:49:54 -05:00
OUTDIR = out
OBJDIR = .obj
# MAME does this so :/
ifeq ($(OS),Windows_NT)
OS = windows
endif
ifndef OS
UNAME = $(shell uname -s)
ifeq ($(UNAME),Darwin)
OS = darwin
2015-11-17 09:46:58 -06:00
else ifeq ($(UNAME),Haiku)
OS = haiku
else
OS = unix
endif
endif
libui:
2015-12-09 12:49:13 -06:00
@$(MAKE) -f GNUmakefile.libui OS=$(OS) OUTDIR=$(OUTDIR) OBJDIR=$(OBJDIR) inlibuibuild=1
2015-12-09 12:49:13 -06:00
# TODO why is this not a regular old rule
clean:
2015-12-09 12:49:13 -06:00
@$(MAKE) -f GNUmakefile.libui OS=$(OS) OUTDIR=$(OUTDIR) OBJDIR=$(OBJDIR) inlibuibuild=1 clean
test: libui
2015-12-09 12:49:13 -06:00
@$(MAKE) -f GNUmakefile.test OS=$(OS) OUTDIR=$(OUTDIR) OBJDIR=$(OBJDIR) inlibuibuild=1