From 84771f11a7d82fd2f72a4196cb2482bc95b8aad4 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 24 Aug 2004 05:00:23 +0000 Subject: [PATCH] updated makefile --- amxmodx/Makefile.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amxmodx/Makefile.pl b/amxmodx/Makefile.pl index d98f0532..97e9c7f2 100755 --- a/amxmodx/Makefile.pl +++ b/amxmodx/Makefile.pl @@ -19,7 +19,7 @@ $mm = "../metamod/metamod"; @CPP_SOURCE_FILES = ("meta_api.cpp", "CFile.cpp", "CVault.cpp", "vault.cpp", "float.cpp", "file.cpp", "modules.cpp", "CMisc.cpp", "CTask.cpp", "string.cpp", "amxmodx.cpp", "CEvent.cpp", "CCmd.cpp", "CLogEvent.cpp", "srvcmd.cpp", "strptime.cpp", "amxcore.cpp", "amxtime.cpp", "power.cpp", "amxxlog.cpp", "fakemeta.cpp", "MMGR/MMGR.cpp", "amxxfile.cpp", "CLang.cpp", "md5.cpp", "emsg.cpp", "CForward.cpp", "CPlugin.cpp", "CModule.cpp", "CMenu.cpp", "util.cpp"); -@C_SOURCE_FILES = ("minilzo/minilzo.c"); +@C_SOURCE_FILES = (); my %OPTIONS, %OPT; $OPT{"debug"} = "-g -ggdb"; @@ -218,5 +218,5 @@ for ($i=0; $i<=$#CPP_SOURCE_FILES; $i++) } } -$gcc = "gcc $cflags -shared -ldl -lm @LINK -o $outdir/$bin"; +$gcc = "gcc $cflags -Lzlib/ -lz -shared -ldl -lm @LINK -o $outdir/$bin"; `$gcc`;