ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/libcpjit/Makefile.in
Revision: 1.8
Committed: Wed Oct 12 19:24:24 2005 UTC (21 years ago) by root
Branch: MAIN
Changes since 1.7: +1 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.7 CXX = @CXX@
2     LIBS = @LIBS@
3     CXXFLAGS = @CXXFLAGS@
4     SH_EXT = .so
5 root 1.1
6 root 1.7 all: Makefile libcpjit$(SH_EXT) # TODO, ELF only
7 root 1.3
8 root 1.4 clean:
9     rm -f *$(SH_EXT) *.o
10    
11 root 1.7 Makefile: Makefile.in
12     ./config.status
13    
14 root 1.4 libcpjit$(SH_EXT): cpjit.C
15 root 1.7 $(CXX) $(CXXFLAGS) -o $@ -shared -rdynamic -fPIC $^ -ldl
16 root 1.3
17 root 1.6 test: test.C cpjit.h libcpjit$(SH_EXT)
18 root 1.7 $(CXX) $(CXXFLAGS) -o $@ $^ libcpjit$(SH_EXT)
19 root 1.8 LD_LIBRARY_PATH=. ./test
20 root 1.6
21 root 1.3 cpjit.C: cpjit.h
22    
23 root 1.1 cpjit.h: cpjit.h.PL
24     ./cpjit.h.PL