]> git.sesse.net Git - nbtscanner/blobdiff - Makefile
Import nbtscanner 0.1.2.
[nbtscanner] / Makefile
index b3031fd4502bece48915f259b3394424c4deb25b..06077532d936d475a88718f1c50006a27925eaa4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,19 +2,17 @@
 
 # note that mysql_config is braindamaged ;-)
 CC=gcc
-CFLAGS=-g -Wall -I/usr/include/mysql/
+CFLAGS=-O6 -Wall -I/usr/include/mysql/
 
 LIBS=-L/usr/local/lib/mysql -lmysqlclient -lnsl -lm   -lz -lcrypt
-LDFLAGS=-lefence
+LDFLAGS=
 
 #
 # *** end of configuration ***
 #
 
-# due to some icky programming, we will have to add all the .o files everywhere.
-
 OBJSN=nbtscanner.o mysql_interface.o configfile.o nmb.o stats.o socket.o util.o id_list.o
-OBJSO=outputfile.o mysql_interface.o configfile.o nmb.o stats.o socket.o util.o id_list.o
+OBJSO=outputfile.o mysql_interface.o configfile.o
 
 all: nbtscanner outputfile
 nbtscanner: $(OBJSN)