Index: Makefile
--- Makefile.orig	2008-02-27 00:31:08 +0100
+++ Makefile	2008-03-04 07:29:45 +0100
@@ -3,7 +3,7 @@
 # Please uncomment the appropriate settings
 
 CC ?= cc
-CFLAGS ?= -Wall -O2 -ggdb
+CFLAGS ?= -Wall -O2
 
 OPTFLAGS = -DREV=$(shell ./getrev.sh)
 
@@ -37,15 +37,6 @@
 
 # END system dependant block
 
-SSL_LIBS := $(shell pkg-config --libs libssl 2>/dev/null)
-ifeq ($(SSL_LIBS),)
-SSL_LIBS := $(shell pkg-config --libs openssl 2>/dev/null)
-endif
-ifeq ($(SSL_LIBS),)
-SSL_LIBS := -lssl -lcrypto
-endif
-LDFLAGS += $(SSL_LIBS)
-
 PREFIX =/usr/local
 BINDIR = $(PREFIX)/bin
 DATADIR = $(PREFIX)/share
@@ -69,6 +60,9 @@
 	ntlm.o		\
 	ptstream.o
 
+.c.o:
+	$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
+
 proxytunnel: $(OBJ)
 	$(CC) -o $(PROGNAME) $(CFLAGS) $(OPTFLAGS) $(OBJ) $(LDFLAGS)
 
