about summary refs log tree commit diff homepage
path: root/stp/c_interface
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-04-05 04:02:31 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-04-05 04:02:31 +0000
commita008fb78987a4675d12f5934f3d51bbd84c3f653 (patch)
treeb58b455f4de7c3b8093c9bad090fcdbdc3ee3fc7 /stp/c_interface
parent268b8ff282c2c17535432a1b341a0b9f52c8ae69 (diff)
downloadklee-a008fb78987a4675d12f5934f3d51bbd84c3f653.tar.gz
STP: Switch build to using LLVM style Makefiles.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@100395 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'stp/c_interface')
-rw-r--r--stp/c_interface/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/stp/c_interface/Makefile b/stp/c_interface/Makefile
index cf6b09d1..3082f715 100644
--- a/stp/c_interface/Makefile
+++ b/stp/c_interface/Makefile
@@ -1,13 +1,16 @@
-include ../Makefile.common
+#===-- stp/c_interface/Makefile ----------------------------*- Makefile -*--===#
+#
+#                     The KLEE Symbolic Virtual Machine
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
 
-SRCS = c_interface.cpp
-OBJS = $(SRCS:.cpp=.o)
+LEVEL=../..
 
-libcinterface.a: $(OBJS)
-	$(AR) rc $@ $^
-	$(RANLIB) $@
+LIBRARYNAME=stp_c_interface
+DONT_BUILD_RELINKED=1
+BUILD_ARCHIVE=1
 
-clean:	
-	rm -rf *.o *~ *.a .#*
-
-c_interface.o: c_interface.h
+include $(LEVEL)/Makefile.common