summaryrefslogtreecommitdiffstats
path: root/efi_memtest/Makefile
diff options
context:
space:
mode:
authorRegia König2021-04-12 14:01:40 +0200
committerRegia König2021-04-12 14:01:40 +0200
commit97cdde730dba4c74cebf7906814a8758c24b966b (patch)
tree48ba29fe7121a1468ef1e0dfcaf8669e9959d4b9 /efi_memtest/Makefile
parentCorrect Makefile (diff)
downloadmemtest86-97cdde730dba4c74cebf7906814a8758c24b966b.tar.gz
memtest86-97cdde730dba4c74cebf7906814a8758c24b966b.tar.xz
memtest86-97cdde730dba4c74cebf7906814a8758c24b966b.zip
Fix bug in Makefile
Diffstat (limited to 'efi_memtest/Makefile')
-rw-r--r--efi_memtest/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/efi_memtest/Makefile b/efi_memtest/Makefile
index 7e2824d..ebcf19c 100644
--- a/efi_memtest/Makefile
+++ b/efi_memtest/Makefile
@@ -119,48 +119,48 @@ UefiMemoryAllocationLib.o: memtest86+/efi/Include/src/MemoryAllocationLib.c
-I"memtest86+/efi/Include"
UefiLib2.o: Acpi.o Console.o UefiDriverModel.o UefiLib.o UefiLibPrint.o UefiNotTiano.o
- ld -r $* -o $@
- rm $*
+ ld -r -o $@ $^
+ rm $^
%.o: memtest86+/efi/Include/src/UefiDebugLibStdErr/%.c
$(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \
-I"memtest86+/efi/Include"
UefiDebugLibStdErr.o: DebugLib.o DebugLibConstructor.o
- ld -r $* -o $@
- rm $*
+ ld -r -o $@ $^
+ rm $^
%.o: memtest86+/efi/Include/src/BaseMemoryLib/%.c
$(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \
-I"memtest86+/efi/Include"
BaseMemoryLib.o: $(BaseMemoryLib_OBJS)
- ld -r $* -o $@
- rm $*
+ ld -r -o $@ $^
+ rm $^
%.o: memtest86+/efi/Include/src/BasePrintLib/%.c
$(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \
-I"memtest86+/efi/Include"
BasePrintLib.o: PrintLib.o PrintLibInternal.o
- ld -r $* -o $@
- rm $*
+ ld -r -o $@ $^
+ rm $^
%.o: memtest86+/efi/Include/src/UefiDevicePathLib/%.c
$(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \
-I"memtest86+/efi/Include"
UefiDevicePathLib2.o: $(UefiDevicePathLib_OBJS)
- ld -r $* -o $@
- rm $*
+ ld -r -o $@ $^
+ rm $^
%.o: memtest86+/efi/Include/src/BaseLib/%.c
$(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \
-I"memtest86+/efi/Include"
BaseLib.o: $(BaseLib_OBJS)
- ld -r $* -o $@
- rm $*
+ ld -r -o $@ $^
+ rm $^
%.o: memtest86+/efi/%.c
$(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -c -o $@ $< \