From c3626147ab68d01ca1ad3f074ae53c7213fa19e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20M=C3=B6ller?= Date: Thu, 1 Mar 2018 23:15:26 +0100 Subject: [PATCH] Removing problematic extra-source tree clean Files outside the source tree should not be touched. This would be an unexpected behaviour. Further, every line is executed in a new shell command, at least with UNIX, which is why the "cd" command has no effect on the lines below. --- makefile | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/makefile b/makefile index 69100c2e..bea01c25 100644 --- a/makefile +++ b/makefile @@ -94,27 +94,10 @@ cssfield$(EXE): cssfield.o fo_serve.cgi: fo_serve.o $(OBJS) $(CC) -o fo_serve.cgi fo_serve.o $(OBJS) $(LIBS) -IDIR=$(HOME)/.find_orb - clean: $(RM) $(OBJS) fo.o findorb.o fo_serve.o find_orb$(EXE) fo$(EXE) $(RM) fo_serve.cgi eph2tle.o eph2tle$(EXE) cssfield$(EXE) $(RM) cssfield.o - cd $(IDIR) - $(RM) covar.txt covar?.txt debug.txt eleme?.txt elements.txt - $(RM) ephemeri.txt gauss.out guide.txt guide?.txt monte.txt monte?.txt - $(RM) mpc_f?.txt mpc_fmt.txt mpc_s?.txt mpec.htm obser?.txt observe.txt - $(RM) residual.txt sr_el?.txt state.txt state?.txt virtu?.txt virtual.txt - $(RM) sr_elems.txt mpcorb.dat - -clean_temp: - cd $(IDIR) - $(RM) covar.txt covar?.txt debug.txt eleme?.txt elements.txt - $(RM) ephemeri.txt gauss.out guide.txt guide?.txt monte.txt monte?.txt - $(RM) mpc_f?.txt mpc_fmt.txt mpc_s?.txt mpec.htm obser?.txt observe.txt - $(RM) residual.txt sr_el?.txt state.txt state?.txt virtu?.txt virtual.txt - $(RM) sr_elems.txt mpcorb.dat - $(RM) sof?.txt sof1s?.txt install: -cp find_orb $(HOME)/bin