From 72449b4ab1f7263ce4ea8aca81e2b882bf56e9b9 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Sat, 25 Feb 2006 13:10:50 +0000 Subject: [PATCH] add test/SmartPtr and src/SmartPtr.cpp to the gcc build process git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@552 7ec92016-0320-0410-acc4-a06ded1c099a --- src/Makefile | 2 +- test/SmartPtr/Makefile | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 test/SmartPtr/Makefile diff --git a/src/Makefile b/src/Makefile index 7b4fa09..6421ba1 100755 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,4 @@ -OBJ = Singleton.o SmallObj.o OrderedStatic.o SafeFormat.o +OBJ = OrderedStatic.o SafeFormat.o Singleton.o SmallObj.o SmartPtr.o BIN = ../lib/libloki.a CXXFLAGS = -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 CPPFLAGS = -I../include -DNDEBUG diff --git a/test/SmartPtr/Makefile b/test/SmartPtr/Makefile new file mode 100755 index 0000000..c07564c --- /dev/null +++ b/test/SmartPtr/Makefile @@ -0,0 +1,10 @@ +BIN = main +CXXFLAGS = -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2 +CPPFLAGS = -I../../include -DNDEBUG +LDFLAGS = -L../../lib +LDLIBS = -lloki + +.PHONY: build clean +build: $(BIN) +clean: + rm -f $(BIN) $(BIN).exe $(BIN).o