More makefile work.

This commit is contained in:
Pietro Gagliardi 2015-10-17 10:20:31 -04:00
parent 260a7f4879
commit c9b241a7b6
4 changed files with 12 additions and 4 deletions

View File

@ -32,10 +32,10 @@ ifndef ARCH
endif
libui:
@$(MAKE) -f GNUmakefile.libui OS=$(OS) ARCH=$(ARCH) OUTDIR=$(OUTDIR) OBJDIR=$(OBJDIR)
@$(MAKE) -f GNUmakefile.libui OS=$(OS) ARCH=$(ARCH) OUTDIR=$(OUTDIR) OBJDIR=$(OBJDIR) inlibuibuild=1
clean:
@$(MAKE) -f GNUmakefile.libui OS=$(OS) ARCH=$(ARCH) OUTDIR=$(OUTDIR) OBJDIR=$(OBJDIR) clean
@$(MAKE) -f GNUmakefile.libui OS=$(OS) ARCH=$(ARCH) OUTDIR=$(OUTDIR) OBJDIR=$(OBJDIR) inlibuibuild=1 clean
test: libui
@$(MAKE) -f GNUmakefile.test OS=$(OS) ARCH=$(ARCH) OUTDIR=$(OUTDIR) OBJDIR=$(OBJDIR)
@$(MAKE) -f GNUmakefile.test OS=$(OS) ARCH=$(ARCH) OUTDIR=$(OUTDIR) OBJDIR=$(OBJDIR) inlibuibuild=1

View File

@ -1,5 +1,9 @@
# 16 october 2015
ifndef inlibuibuild
$(error [FAIL] do not run these makefiles directly)
endif
include $(OS)/GNUosspecific.mk
include common/GNUmakeinc.mk
include $(OS)/GNUmakeinc.mk

View File

@ -1,5 +1,9 @@
# 16 october 2015
ifndef inlibuibuild
$(error [FAIL] do not run these makefiles directly)
endif
include $(OS)/GNUosspecific.mk
include test/GNUmakeinc.mk

View File

@ -11,5 +11,5 @@ else ifeq ($(ARCH),386)
CC = i686-w64-mingw32-gcc
RC = i686-w64-mingw32-windres
else ifneq ($(ARCH),default)
$(error [FAIL] unknown architecture $(ARCH))
$(error [FAIL] unknown architecture $(ARCH))
endif