X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2FMakefile.tpl;h=ccae9cacd3afe6c0ef9d83d27fbb97615fba126a;hb=9e019a9a9be9abe8de2073e6e37554d6de35bdb2;hp=5f73632786e77ee5ae55aa4c21f328e7402e3478;hpb=cb8ee714fcb4fce504fd767462789093a9fecbb1;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/Makefile.tpl b/Usermode/Libraries/Makefile.tpl index 5f736327..ccae9cac 100644 --- a/Usermode/Libraries/Makefile.tpl +++ b/Usermode/Libraries/Makefile.tpl @@ -5,16 +5,18 @@ DEPFILES := $(addsuffix .d,$(OBJ)) _BIN := $(OUTPUTDIR)Libs/$(BIN) +_XBIN := $(addprefix $(OUTPUTDIR)Libs/,$(EXTRABIN)) -.PHONY: all clean install +.PHONY: all clean install postbuild -all: $(_BIN) +all: $(_BIN) $(_XBIN) clean: - $(RM) $(_BIN) $(OBJ) $(_BIN).dsm $(DEPFILES) + $(RM) $(_BIN) $(_XBIN) $(OBJ) $(_BIN).dsm $(DEPFILES) -install: $(_BIN) - $(xCP) $(_BIN) $(DISTROOT)/Libs/ +install: all + @$(xMKDIR) $(DISTROOT)/Libs; true + $(xCP) $(_BIN) $(_XBIN) $(DISTROOT)/Libs/ $(_BIN): $(OBJ) @mkdir -p $(dir $(_BIN))