Am Dienstag, 26. Mai 2015, 16:28:01 schrieb Mike Westfall:
> Hello EPICS braintrust,
>
> If I want to use TDCT instead of CapFAST to build database files from
> CapFAST schematics, how should I modify the Makefile to stop it from
> trying to run sch2edif, and to run tdct instead?
>
> Or will I just have to run 'tdct -s myschematic.sch' manually first?
It should be possible to just add a rule to the Makefile, something like
DB += myschematic.db
...
%.db: %.sch; tdct -s $< -db $@
If that doesn't work it's usually because there is a more general rule in
base. In that case a static pattern rule helps because it counts as more
specific than a normal pattern rule:
SRCS.sch += myschematic.sch
DB += $(SRCS.sch:%.sch=%.db)
DB_FROM_SCH += $(SRCS.sch:%.sch=$(INSTALL_DB)/%.db)
$(DB_FROM_SCH): %.db: %.sch; tdct -s $< -db $@
Disclaimer: code not tested, you might need to play around with command line
etc.
HTH
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- References:
- TDCT and Makefile question Mike Westfall
- Navigate by Date:
- Prev:
Re: Only integer value from CAEN VME protocol Christopher Wells Heidt
- Next:
RE: Draft requirements document for enhanced EPICS motor support Mark Clift
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
TDCT and Makefile question Mike Westfall
- Next:
Motor R6-9 build issues on Windows Heesterman, Peter J
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
<2015>
2016
2017
2018
2019
2020
2021
2022
2023
2024
|