From 0aac2a8bf32a5f88ae3f9b7a74a302ce180da854 Mon Sep 17 00:00:00 2001 From: Adam Wykes Date: Tue, 6 Jan 2026 21:45:18 -0600 Subject: [PATCH] Update Makefile updated for gcc on modern ubuntu --- src/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Makefile b/src/Makefile index 945046b..8c96446 100644 --- a/src/Makefile +++ b/src/Makefile @@ -74,9 +74,8 @@ clean : cd wincalls; make clean udefrag : $(A) - $(LD) -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o udefrag -M \ - $(LIB1)/crt1.o $(LIB1)/crti.o $(LIB2)/crtbegin.o \ - console/console.a dll/udefrag/udefrag.a dll/zenwinx/zenwinx.a \ - wincalls/wincalls.a $(NTFSLIB) \ - -lgcc -L$(LIB2) -L$(LIB1) -lc -lm -lpthread -lncurses \ - $(LIB2)/crtend.o $(LIB1)/crtn.o > udefrag.map + $(GCC) -o udefrag \ + console/console.a dll/udefrag/udefrag.a dll/zenwinx/zenwinx.a \ + wincalls/wincalls.a \ + -lntfs-3g -lpthread -lncurses -lm +