X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Facess.ld_src%2FMakefile;h=57a9cd9f3128719db286e45eff47adc0a67c0e19;hb=92517b68b7582251f69db7e062d5e5a4c773791f;hp=405ec20384af84efb4abac797c4395b30c39a023;hpb=b98fbd4e9c71447d81fc9bd643fb174c76346e0f;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/acess.ld_src/Makefile b/Usermode/Libraries/acess.ld_src/Makefile index 405ec203..57a9cd9f 100644 --- a/Usermode/Libraries/acess.ld_src/Makefile +++ b/Usermode/Libraries/acess.ld_src/Makefile @@ -1,16 +1,22 @@ +# +# Acess2 +# - Common usermode linker script +# + -include ../Makefile.cfg -BIN = ../acess.ld +BIN = $(OUTPUTDIR)Libs/acess.ld .PHONY: all clean install -all: ../acess.ld +all: $(BIN) clean: - $(RM) ../acess.ld + $(RM) $(BIN) -install: ../acess.ld +install: $(BIN) -../acess.ld: acess.ld.h - cpp -nostdinc -U i386 -P -C $< -o $@ -DACESSDIR=$(ACESSDIR) +$(BIN): acess.ld.h + @mkdir -p $(dir $(BIN)) + cpp -nostdinc -U i386 -P -C $< -o $@ -D__LIBDIR=$(OUTPUTDIR)Libs