Changeset 1895
- Timestamp:
- 08/24/10 17:49:49 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/libpyrap/Makefile
r1892 r1895 11 11 PYRAPROOT := $(EXTDIR)/pyrap-0.3.2/ 12 12 PYRAPDIR := $(EXTDIR)/pyrap-0.3.2/pyrap/Converters 13 TESTDIR := $(PYRAPDIR)/test 13 14 14 15 # the casa environment AIPSPATH has to be defined … … 22 23 23 24 TARGET := libpyrap.so 25 TESTMOD := $(TESTDIR)/_tConvert.so 24 26 INSTDIR := $(CASAROOT)/$(CASAARCH)/lib 25 27 … … 87 89 # $(PYRAPDIR)/PycArrayNA.h 88 90 91 TESTSRC := $(TESTDIR)/tConvert.cc 92 TESTOBJ := $(TESTDIR)/tConvert.o 93 89 94 all: $(TARGET) 90 95 … … 98 103 99 104 clean: 100 @rm -rf $(OBJECTS) $(TARGET) 105 rm -rf $(OBJECTS) $(TARGET) 106 rm -rf $(TESTDIR)/$(TESTMOD) $(TESTDIR)/$(TESTOBJ) 101 107 102 108 install: 103 @cp -f $(TARGET) $(INSTDIR) 109 cp -f $(TARGET) $(INSTDIR) 110 111 test: 112 $(CXX) $(CXXOPTS) -c $(CXXFLAGS) $(INCDIRS) -o $(TESTOBJ) $(TESTSRC) 113 $(LD) $(LDFLAGS) -o $(TESTMOD) $(TESTOBJ) $(LIBS) -L$(INSTDIR) -lpyrap
Note:
See TracChangeset
for help on using the changeset viewer.