Skip to content

Commit

Permalink
Makefile: remove trailing whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
  • Loading branch information
jkivilin committed Oct 13, 2024
1 parent f2fcefa commit 6d2fdce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##
## compiling under ubuntu:
## for compiling linux: make
## for compiling linux: make
## for compiling win32: make OSTYPE=win32
##

Expand Down Expand Up @@ -41,7 +41,7 @@ INCLUDES = -I"./metamod" \
-I"./pm_shared"

CFLAGS = ${BASEFLAGS} ${OPTFLAGS} ${ARCHFLAG} ${INCLUDES}
CPPFLAGS = -fno-rtti -fno-exceptions ${CFLAGS}
CPPFLAGS = -fno-rtti -fno-exceptions ${CFLAGS}

SRC = bot.cpp \
bot_chat.cpp \
Expand All @@ -66,15 +66,15 @@ SRC = bot.cpp \

OBJ = $(SRC:%.cpp=%.o)

${TARGET}${DLLEND}: zlib/libz.a ${OBJ}
${TARGET}${DLLEND}: zlib/libz.a ${OBJ}
${CPP} -o $@ ${OBJ} zlib/libz.a ${LINKFLAGS}
cp $@ addons/jk_botti/dlls/

zlib/libz.a:
(cd zlib; AR="${AR}" RANLIB="${RANLIB}" CC="${CPP} ${OPTFLAGS} ${ARCHFLAG} ${ZLIB_OSFLAGS} -DASMV" ./configure; $(MAKE) OBJA=match.o; cd ..)

clean:
rm -f *.o ${TARGET}${DLLEND} Rules.depend zlib/*.exe
rm -f *.o ${TARGET}${DLLEND} Rules.depend zlib/*.exe
(cd zlib; $(MAKE) clean; cd ..)
rm -f zlib/Makefile

Expand Down

0 comments on commit 6d2fdce

Please sign in to comment.