More makefile work.
This commit is contained in:
parent
260a7f4879
commit
c9b241a7b6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue