IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24555


Ignore:
Timestamp:
Jun 25, 2009, 1:52:18 PM (17 years ago)
Author:
bills
Message:

RemoveStreaks is now DetectStreaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/magic/makefile

    r24100 r24555  
    1 #
    2 # This makefile is used in place of the one in Paul Sydneys' tarball
    3 #
    4 # XXX integrate with the build system
    5 #
    6 TARGETS = DetectStreaks
    7 SSA_SRC_DIR = ../ssa-core-cpp/src
    8 CFITSIO_DIR = ../cfitsio
    9 CFITSIO_DIR = $(PSCONFDIR)/$(PSCONFIG)
    10 INCLUDEDIRS = -I$(SSA_SRC_DIR) -I$(CFITSIO_DIR)/include
    11 # INCLUDEDIRS = -I$(SSA_SRC_DIR)
     1TARGETS =  DetectStreaks
    122
    133CXX = c++
    14 CXXFLAGS = -Wall -g
    15 CXXFLAGS = -Wall -O3 -DNDEBUG
     4CXXFLAGS = -W -Wall -O3 -DNDEBUG
     5# CXXFLAGS = -W -Wall -g
    166
    17 SRCS = $(TARGETS).cpp $(SSA_SRC_DIR)/math/Constants.cpp
    18 LIBS = -L$(CFITSIO_DIR) -lcfitsio
    19 LIBS = -L$(CFITSIO_DIR)/lib -lcfitsio
    20 # LIBS = -lcfitsio
     7SSA_SRC_DIR = ../ssa-core-cpp/src
     8INCLUDEDIRS = -I. -I$(SSA_SRC_DIR)
     9OTHER_SRCS = $(SSA_SRC_DIR)/math/Constants.cpp
    2110
    22 $(TARGETS) : $(SRCS)
    23            $(CXX) $(CXXFLAGS) $(INCLUDEDIRS) $(SRCS) $(LIBS) -o $@
     11# CFITSIO_DIR = ../cfitsio
     12CFITSIO_DIR = $(PSCONFDIR)/$(PSCONFIG)
     13
     14CFITSIO_INC =  -I$(CFITSIO_DIR)
     15CFITSIO_LIB = -L$(CFITSIO_DIR) -lcfitsio
     16
     17all : $(TARGETS)
     18
     19RemoveStreaks : $(OTHER_SRCS)
     20
     21DetectStats : $(OTHER_SRCS)
     22
     23% :: %.cpp
     24        $(CXX) $(CXXFLAGS) $(INCLUDEDIRS) $(CFITSIO_INC) $< $(OTHER_SRCS) $(CFITSIO_LIB) -o $@
     25
     26.PHONY : clean
     27
     28.SILENT : clean
    2429
    2530clean :
    26            -rm -f $(TARGETS)
     31           - rm $(TARGETS)
    2732
    2833DESTDIR=$(PSCONFDIR)/$(PSCONFIG)
    2934
    30 install:        $(TARGETS)
     35install:        $(TARGETS)
    3136        cp DetectStreaks $(DESTDIR)/bin
    3237        chmod 755  $(DESTDIR)/bin/DetectStreaks
     38
Note: See TracChangeset for help on using the changeset viewer.