summaryrefslogtreecommitdiff
path: root/cad/magic/files/patch-commands__Makefile
blob: 249bf5d8ca6517803c6f66b0238e0c9a72fb0b1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- commands/Makefile.orig	2020-04-08 15:45:13 UTC
+++ commands/Makefile
@@ -10,12 +10,7 @@ SRCS      = CmdSubrs.c CmdAB.c CmdCD.c CmdE.c CmdFI.c 
 # Force the module to regenerate the symbolic link in the readline
 # directory, as it may be needed by CmdFI.c (in the non-Tcl compile)
 
-module: ${MAGICDIR}/readline/readline lib${MODULE}.o
-
-${MAGICDIR}/readline/readline:
-	@if ( ! test -f ${MAGICDIR}/readline/readline ) ; then \
-	(cd ${MAGICDIR}/readline; ln -s `ls | grep readline` readline) ; \
-	fi
+module: lib${MODULE}.o
 
 include ${MAGICDIR}/defs.mak
 include ${MAGICDIR}/rules.mak