diff options
author | anonymous <local@localhost> | 2010-08-13 14:47:47 +0000 |
---|---|---|
committer | anonymous <local@localhost> | 2010-08-13 14:47:47 +0000 |
commit | 0b2ee73455bbfa4c5131c95f8b195d12d19ccb04 (patch) | |
tree | 650080e9afe7ce3bbb6af3829ed645495dc08cb4 /src/Makefile | |
parent | 23725157c815e3fccfca988317624d7b0896e932 (diff) | |
parent | 44b2f6d2bf4a1c7695651a908b392a5c3faf6190 (diff) | |
download | libcxxrt-0b2ee73455bbfa4c5131c95f8b195d12d19ccb04.tar.gz libcxxrt-0b2ee73455bbfa4c5131c95f8b195d12d19ccb04.tar.bz2 libcxxrt-0b2ee73455bbfa4c5131c95f8b195d12d19ccb04.tar.xz |
Merge branch 'master' of github.com:pathscale/libcxxrt
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index d8240a7..499a05c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,5 @@ -OBJECTS = typeinfo.o exception.o dynamic_cast.o terminate.o guard.o +OBJECTS = typeinfo.o exception.o dynamic_cast.o terminate.o guard.o \ + stdexcept.o memory.o aux.o # Needed for building the shared library CXXFLAGS = -fPIC @@ -20,10 +21,16 @@ LDFLAGS += -L/usr/local/lib -L. -lpthread -fexceptions PRODUCTS = libcxxabi.so.1 +all: libcxxabi.so.1 libcxxabi.a + libcxxabi.so.1: $(OBJECTS) @echo Linking $@... @gcc -fexception -shared $(OBJECTS) $(LDFLAGS) -o libcxxabi.so.1 #-lunwind +libcxxabi.a: $(OBJECTS) + @ar cr libcxxabi.a $(OBJECTS) + + .cc.o: @echo Compiling $<... @$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $< @@ -38,3 +45,6 @@ exception.o: exception.cc typeinfo.h abi_namespace.h typeinfo dwarf_eh.h guard.o: guard.cc terminate.o: terminate.cc typeinfo.o: typeinfo.cc typeinfo.h abi_namespace.h typeinfo +stdexcept.o: stdexcept.cc stdexcept.h +memory.o: memory.cc stdexcept.h +aux.o: aux.cc stdexcept.h |