mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-07-24 11:28:30 +00:00
Added 'standalone-mode'. This will make proxytunnel an even more versatile tool, allowing it to be used virtually anywhere and anytime. Idea by Maniac, Code from The Muppet Started work on some more changes (not working yet) - Not forking to background in standalone mode - Reading options from .proxytunnel file, to make commandline work easier and faster git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@18 bc163920-b10d-0410-b2c5-a5491ca2ceef
26 lines
548 B
Makefile
Executable file
26 lines
548 B
Makefile
Executable file
# Makefile for proxytunnel
|
|
#
|
|
# Please uncomment the appropriate settings
|
|
|
|
CC = gcc
|
|
CFLAGS = -Wall -DHAVE_GETOPT_LONG
|
|
LDFLAGS =
|
|
INSTALLPATH = /usr/local/bin
|
|
|
|
# Solaris needs this (According to Martin Senft <martin@illicon.de>)
|
|
# CFLAGS = -I/usr/include -Wall
|
|
# LDFLAGS = -lsocket -lnsl
|
|
|
|
PROGNAME = proxytunnel
|
|
OBJ = proxytunnel.o \
|
|
cmdline.o
|
|
|
|
proxytunnel: $(OBJ)
|
|
$(CC) -o $(PROGNAME) $(LDFLAGS) $(OBJ)
|
|
|
|
clean:
|
|
@rm -f $(PROGNAME) $(OBJ)
|
|
|
|
install:
|
|
mkdir -p $(INSTALLPATH)
|
|
install -g root -m755 -o root $(PROGNAME) $(INSTALLPATH)/$(PROGNAME)
|