X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=3f6a6eb6bfdc3fbb172100943d0218792f8be5a9;hb=717470a27cccefc7ecd609d8449059a1e7579d49;hp=78835ed02a33e18ff1459afe4d75efbb8fb76186;hpb=fe9a4070fdc18d1342d41079bb6f416b19160dba;p=NeonServV5.git diff --git a/Makefile b/Makefile index 78835ed..3f6a6eb 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,21 @@ CFLAGS=-Wall -Wshadow -Werror all: - gcc -g -O2 -I. -c IRCEvents.c -o IRCEvents.o ${CFLAGS} - gcc -g -O2 -I. -c main.c -o main.o ${CFLAGS} - gcc -g -O2 -I. -c ChanNode.c -o ChanNode.o ${CFLAGS} - gcc -g -O2 -I. -c IRCParser.c -o IRCParser.o ${CFLAGS} - gcc -g -O2 -I. -c ClientSocket.c -o ClientSocket.o ${CFLAGS} - gcc -g -O2 -I. -c UserNode.c -o UserNode.o ${CFLAGS} - gcc -g -O2 -I. -c ChanUser.c -o ChanUser.o ${CFLAGS} - gcc -g -O2 -I. -c WHOHandler.c -o WHOHandler.o ${CFLAGS} - gcc -g -O2 -I. -c modcmd.c -o modcmd.o ${CFLAGS} - gcc -g -O2 -I. -c bots.c -o bots.o ${CFLAGS} - gcc -g -O2 -I. -c bot_NeonServ.c -o bot_NeonServ.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c IRCEvents.c -o IRCEvents.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c main.c -o main.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c ChanNode.c -o ChanNode.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c IRCParser.c -o IRCParser.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c ClientSocket.c -o ClientSocket.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c UserNode.c -o UserNode.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c ChanUser.c -o ChanUser.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c WHOHandler.c -o WHOHandler.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c modcmd.c -o modcmd.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c mysqlConn.c -o mysqlConn.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c bots.c -o bots.o ${CFLAGS} + gcc -g -O2 -I. -I/usr/include/mysql -c bot_NeonServ.c -o bot_NeonServ.o ${CFLAGS} install: - gcc -g -O0 -I. -o neonserv *.o ${CFLAGS} + gcc -g -O0 -I. -I/usr/include/mysql -o neonserv *.o ${CFLAGS} -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto clean: rm *.o