From 7219dbcf1976def4a7b06e84cf197f59a4dcdbfd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 18 Jan 2009 02:21:15 +0000 Subject: added more sophisticated configure script --- src/Makefile | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index af26638..396b255 100644 --- a/src/Makefile +++ b/src/Makefile @@ -28,22 +28,8 @@ ## You should have received a copy of the GNU General Public License ## along with anytun. If not, see . ## -TARGET=$(shell uname -s) -CC = gcc -CFLAGS = -g -CXX = g++ -CXXFLAGS = -g -Wall -O2 #-DUSE_SSL_CRYPTO -LD = g++ -LDFLAGS = -g -Wall -O2 -lboost_thread -lgcrypt -lgpg-error -lboost_serialization -lboost_system -#LDFLAGS = -g -Wall -O2 -lboost_thread -lcrypto -lboost_serialization -lboost_system - -ifeq ($(TARGET),Linux) - LDFLAGS += -ldl -endif -ifeq ($(TARGET),OpenBSD) - CXXFLAGS += -I/usr/local/include - LDFLAGS += -L/usr/local/lib -endif + +include include.mk OBJS = tunDevice.o \ packetSource.o \ @@ -159,6 +145,7 @@ distclean: cleanall find . -name *.o -exec rm -f {} \; rm -f config.sub config.guess rm -f tunDevice.cpp + rm -f include.mk cleanall: clean $(MAKE) --directory=$(CURDIR)/man clean -- cgit v1.2.3