From 7658321752585beb05668257628bc2ec3ddc17ef Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Thu, 26 Mar 2020 21:38:15 +0100 Subject: replaced age2hd cheat with a actually working one.. or at least worked Signed-off-by: Toni Uhlig --- aoe2hd/Makefile | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 aoe2hd/Makefile (limited to 'aoe2hd/Makefile') diff --git a/aoe2hd/Makefile b/aoe2hd/Makefile deleted file mode 100644 index 81d32b1..0000000 --- a/aoe2hd/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -CC = i686-w64-mingw32-gcc -CXX = i686-w64-mingw32-g++ -CFLAGS := -Iinclude -Os -s -Wall -fvisibility=hidden -ffunction-sections -fdata-sections -ffast-math -fomit-frame-pointer -fexpensive-optimizations -Wl,--gc-sections -m32 -static -static-libgcc -static-libstdc++ -LDFLAGS := - -TARGETS := aoe2hd - -AOE2HD_SRC := CodeGenerator.cpp CodeInjector.cpp CodePatcher.cpp main.cpp ModuleMemory.cpp utils.cpp - - -all: $(TARGETS) - -%.o: %.c - @echo 'Building file: $<' - @echo 'Invoking: GCC C Compiler' - $(CC) $(CFLAGS) -D_GNU_SOURCE=1 -DPSAPI_VERSION=1 -std=gnu99 $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o $@ $< - @echo 'Finished building: $<' - @echo ' ' -%.o: %.cpp - @echo 'Building file: $<' - @echo 'Invoking: GCC C++ Compiler' - $(CXX) $(CFLAGS) -D_GNU_SOURCE=1 -DPSAPI_VERSION=1 -std=c++11 $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o $@ $< - @echo 'Finished building: $<' - @echo ' ' - - -aoe2hd: $(patsubst %.cpp,src/%.o,$(AOE2HD_SRC)) src/native.o - @echo 'Building target: $@' - @echo 'Invoking: GCC C Linker' - $(CXX) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lpsapi - @echo 'Finished building target: $@' - @echo ' ' - - -clean: - rm -f aoe2hd.exe *.o *.d -- cgit v1.2.3