X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FMakefile.tpl;h=8f548c59af8d4d0d43b8afa23aaef1575dbfba04;hb=923a9dc473851ec2bb1c94021bbf139724e7e8a5;hp=ae6d57484dc502068509005a0aacb99d7eae2164;hpb=6ea2f6040da80c963882f6ccfe4bf21ff048eaff;p=tpg%2Facess2.git diff --git a/Modules/Makefile.tpl b/Modules/Makefile.tpl index ae6d5748..8f548c59 100644 --- a/Modules/Makefile.tpl +++ b/Modules/Makefile.tpl @@ -5,16 +5,17 @@ _CPPFLAGS := $(CPPFLAGS) CFGFILES = +CFGFILES += $(shell test -f ../../../Makefile.cfg && echo ../../../Makefile.cfg) CFGFILES += $(shell test -f ../../Makefile.cfg && echo ../../Makefile.cfg) CFGFILES += $(shell test -f ../Makefile.cfg && echo ../Makefile.cfg) CFGFILES += $(shell test -f Makefile.cfg && echo Makefile.cfg) -include $(CFGFILES) CPPFLAGS = -I$(ACESSDIR)/Kernel/include -I$(ACESSDIR)/Kernel/arch/$(ARCHDIR)/include -DARCH=$(ARCH) $(_CPPFLAGS) -CFLAGS = -Wall -Werror -fno-stack-protector $(CPPFLAGS) +CFLAGS = -Wall -Werror -fno-stack-protector $(CPPFLAGS) -O3 OBJ := $(addsuffix .$(ARCH),$(OBJ)) -BIN = ../$(NAME).kmd.$(ARCH) +BIN = ../$(CATEGORY)_$(NAME).kmd.$(ARCH) KOBJ = ../$(NAME).xo.$(ARCH) DEPFILES = $(filter %.o.$(ARCH),$(OBJ))