diff options
author | Regia König | 2021-04-13 13:30:00 +0200 |
---|---|---|
committer | Regia König | 2021-04-13 13:30:00 +0200 |
commit | a15d89d557d0482a9014e680828d52dc61f79f20 (patch) | |
tree | 47020611ac13f6eece4522b071fa9b7a863470ca /efi_memtest/Makefile | |
parent | Comment some CFLAGs (diff) | |
download | memtest86-a15d89d557d0482a9014e680828d52dc61f79f20.tar.gz memtest86-a15d89d557d0482a9014e680828d52dc61f79f20.tar.xz memtest86-a15d89d557d0482a9014e680828d52dc61f79f20.zip |
Rename AutoGen by Efi_Defs. Adjust Makefile
Diffstat (limited to 'efi_memtest/Makefile')
-rw-r--r-- | efi_memtest/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/efi_memtest/Makefile b/efi_memtest/Makefile index f024134..f39668c 100644 --- a/efi_memtest/Makefile +++ b/efi_memtest/Makefile @@ -1,8 +1,3 @@ -# TODO Autogen.obj -# Difference *.o *.obj - - - MAIN_FILE = MemtestEfi CC = gcc @@ -33,7 +28,7 @@ M=$(M64) PREPROCESSOR=-DUEFI -DUSING_LTO -Os \ -D DISABLE_NEW_DEPRECATED_INTERFACES "-DEFIAPI=__attribute__((ms_abi))" -OBJS=AutoGen.obj main.o display.o test.o smp.o config.o screen_buffer.o lib.o init.o controller.o \ +OBJS=Efi_Defs.obj main.o display.o test.o smp.o config.o screen_buffer.o lib.o init.o controller.o \ pci.o spd.o dmi.o reloc.o patn.o error.o vmem.o cpuid.o memsize.o \ random.o logger.o memory_tables.o BaseLib.o BaseMemoryLib.o BasePrintLib.o \ UefiDebugLibStdErr.o UefiDevicePathLib2.o UefiLib2.o ApplicationEntryPoint.o \ @@ -92,14 +87,14 @@ $(MAIN_FILE).obj: $(MAIN_FILE).c $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -o $(MAIN_FILE).obj \ -MMD -MF OUTPUT/$(MAIN_FILE).obj.deps \ -c \ - -include memtest86+/efi/Include/AutoGen.h \ + -include memtest86+/efi/Include/Efi_Defs.h \ -DSTRING_ARRAY_NAME=${MAIN_FILE}Strings \ -I . \ -I"memtest86+" \ -I"memtest86+/efi/Include" \ $(MAIN_FILE).c -AutoGen.obj: memtest86+/efi/Include/AutoGen.c +Efi_Defs.obj: memtest86+/efi/Include/Efi_Defs.c $(CC) $(CFLAGS) $(PREPROCESSOR) $(M) -o $@ $< \ -c \ -I"./" \ @@ -189,7 +184,7 @@ clean: rm -f MemtestEfi.dll rm -f MemtestEfi.efi rm -f MemtestEfi.txt - rm -f AutoGen.obj + rm -f Efi_Defs.obj move: |