mirror of
https://github.com/YosysHQ/abc.git
synced 2026-08-22 14:06:36 +02:00
Version abc50729
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
#echo "## Got: $*"
|
||||
CC="$1"
|
||||
DIR="$2"
|
||||
shift 2
|
||||
case "$DIR" in
|
||||
"" | ".")
|
||||
$CC -MM -MG "$@" | sed -e 's@^\(.*\)\.o:@\1.d \1.o:@'
|
||||
;;
|
||||
*)
|
||||
$CC -MM -MG "$@" | sed -e "s@^\(.*\)\.o:@$DIR/\1.d $DIR/\1.o:@"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user