Garnaxbot (File Server) is a file serving bot for IRC (commonly referred to as a DCC bot). It uses the DCC chat/send features of IRC to send files to other users. Garnaxbot will connect to an IRC server and allow people to request files via DCC chat. PR: ports/68101 Submitted by: Travis Poppe <tlp@liquidx.org>
29 lines
590 B
Text
29 lines
590 B
Text
|
|
$FreeBSD$
|
|
|
|
--- Makefile.orig Sun Jun 20 18:38:31 2004
|
|
+++ Makefile Sun Jun 20 18:39:44 2004
|
|
@@ -2,11 +2,12 @@
|
|
OBJDIR = ./work/
|
|
BUILD = garnax-f1.1
|
|
TARFILE = $(BUILD).tar
|
|
-CC = gcc
|
|
+CC ?= gcc
|
|
|
|
# Note: -lpthread may be needed instead of -pthread
|
|
#CFLAGS = -Wall -pedantic -ansi -pthread -g
|
|
-CFLAGS = -Wall -pthread -g
|
|
+CFLAGS += -Wall -pthread -g
|
|
+LIBS= ${PTHREAD_LIBS}
|
|
|
|
# Arguments for SunOS
|
|
# CC = cc
|
|
@@ -19,7 +20,7 @@
|
|
install : garnax
|
|
|
|
garnax : work $(objects)
|
|
- $(CC) $(CFLAGS) $(objects) -o garnax
|
|
+ $(CC) $(CFLAGS) $(LIBS) $(objects) -o garnax
|
|
|
|
work :
|
|
mkdir -p work
|