mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-07-25 11:53:58 +00:00
Actually add the makefile now, renamed Makefile.cc to Makefile.no-gcc otherwise
compiling using gcc would conflict (it attempts to g++ compile Makefile.cc) git-svn-id: https://proxytunnel.svn.sourceforge.net/svnroot/proxytunnel/trunk/proxytunnel@60 bc163920-b10d-0410-b2c5-a5491ca2ceef
This commit is contained in:
parent
eee59dcf16
commit
ec035f27aa
1 changed files with 27 additions and 0 deletions
27
Makefile.no-gcc
Normal file
27
Makefile.no-gcc
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Makefile for proxytunnel
|
||||
#
|
||||
# Please uncomment the appropriate settings
|
||||
|
||||
CC = cc
|
||||
CFLAGS =
|
||||
LDFLAGS =
|
||||
INSTALLPATH = $(DESTDIR)/usr/bin
|
||||
|
||||
PROGNAME = proxytunnel
|
||||
OBJ = proxytunnel.o \
|
||||
base64.o \
|
||||
io.o \
|
||||
http.o \
|
||||
basicauth.o \
|
||||
messages.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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue