From: Mikko Rasa Date: Tue, 24 Jun 2008 19:33:50 +0000 (+0000) Subject: Remove an obsolete Makefile X-Git-Tag: 1.0~5 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=7d8e623512c2cf33eef000cf99af97386dfe6d59;p=libs%2Fcore.git Remove an obsolete Makefile Translate windows error codes to text in SystemError --- diff --git a/Makefile b/Makefile deleted file mode 100644 index 1e310c3..0000000 --- a/Makefile +++ /dev/null @@ -1,95 +0,0 @@ -NAME = core - -WORKDIR = $(PWD)/../.. -TMP = $(WORKDIR)/tmp/linux -TGT = $(HOME)/local - -CXX = g++ -CC = gcc -AR = ar -CP = cp - -LIBFILE = libmsp$(NAME) - -MAKEFLAGS += -s --no-print-directory -INCLUDE = -Isource -I$(TMP)/include -LIB = -L$(TMP) -DEBUG = -CFLAGS = $(DEBUG) $(INCLUDE) -pipe -Wall -CXXFLAGS = $(CFLAGS) - -PIC = -fPIC -SHARED = .so -STATIC = .a - -override CFLAGS += `pkg-config --cflags sigc++-2.0` -override LDFLAGS += `pkg-config --libs sigc++-2.0` -override CXXFLAGS += `pkg-config --cflags sigc++-2.0` - -SRC = source -SUBDIRS = core time -OBJS = $(foreach SUBDIR, $(SUBDIRS), $(addprefix $(TMP)/$(SUBDIR)/, $(addsuffix .o, $(notdir $(basename $(wildcard $(SRC)/$(SUBDIR)/*.cpp)))))) - -pkgincludedir = include/msp -libdir = lib - -foo = "echo $ #include +#ifdef WIN32 +#include +#endif #include "except.h" using namespace std; @@ -36,7 +39,11 @@ string SystemError::build_what(const string &w, int e) ostringstream buf; buf<