mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 07:13:08 +02:00
genex/: "genex" is now a wrapper that sets PATH, then calls genex-bin
This commit is contained in:
parent
40a76e1d4a
commit
fff142c6de
@ -33,9 +33,9 @@ endif
|
||||
|
||||
.PHONY: all clean spotless
|
||||
|
||||
all: genex
|
||||
all: genex-bin
|
||||
|
||||
genex: $(OBJS)
|
||||
genex-bin: $(OBJS)
|
||||
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDLIBS)
|
||||
|
||||
%.o: %.c
|
||||
@ -52,4 +52,4 @@ clean:
|
||||
rm -f $(OBJS) $(OBJS:.o=.d)
|
||||
|
||||
spotless: clean
|
||||
rm -f genex
|
||||
rm -f genex-bin
|
||||
|
3
genex/genex
Executable file
3
genex/genex
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
PATH=$PATH:.
|
||||
exec genex-bin "$@"
|
@ -183,7 +183,7 @@ static void convert_comp(const struct node *node, FILE *out)
|
||||
make_title(out, node, i);
|
||||
if (!i && node->comment)
|
||||
print_comment(out, node->comment);
|
||||
if (asprintf(&tmp, "./sym2xps '%s' '%s' %d '%s' '%s'",
|
||||
if (asprintf(&tmp, "sym2xps '%s' '%s' %d '%s' '%s'",
|
||||
node->lib, node->names->s, i+1, "tmp", "tmp.ps") < 0) {
|
||||
perror("asprintf");
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user