Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Now downloading using chandra-obs/Makefile

  • Loading branch information...
commit d16384c5d3ff0636d42131913c0ce832b7405182 1 parent ca48c28
Matthew Wampler-Doty authored
Showing with 3 additions and 9 deletions.
  1. +3 −9 maketemplates/chandra_analyze.mk
View
12 maketemplates/chandra_analyze.mk
@@ -1,7 +1,7 @@
include $(RAWBASEDIR)/maketemplates/master.mk
CIAODIR=/usr/local/ciao-4.3/bin
CIAO_INIT=source $(CIAODIR)/ciao.bash
-OBSDIR=$(RAWBASEDIR)/chandra-obs
+CHANDRA_OBSDIR=$(RAWBASEDIR)/Data/chandra-obs
.PHONY : all clean Makefile
.PRECIOUS: $(CHANDRA_OBSDIR) $(CHANDRA_OBSDIR)/%
@@ -11,14 +11,8 @@ all : $(OBSIDS)
clean :
rm -f $(OBSIDS)
-$(CHANDRA_OBSDIR)/Makefile :
- $(MAKE) -C $(dir $(CHANDRA_OBSDIR)) $(notdir $(CHANDRA_OBSDIR))/$(notdir $@)
-
-$(CHANDRA_OBSDIR)/% : $(CHANDRA_OBSDIR)/Makefile
- @echo ">>> Dowloading Chandra ObsId $(notdir $@) <<<"
- cd $(dir $@) && \
- $(CIAO_INIT) && \
- download_chandra_obsid $(notdir $@)
+$(CHANDRA_OBSDIR)/% :
+ $(MAKE) -C $(CHANDRA_OBSDIR) $(notdir $@)
%: $(CHANDRA_OBSDIR)/%
@echo ">>> Linking Chandra ObsId $(notdir $@) <<<"
Please sign in to comment.
Something went wrong with that request. Please try again.