|
| 1 | +ROOTOPTS = `root-config --cflags` |
| 2 | +ROOTLIBS = `root-config --libs` |
| 3 | +CPPOPTS = -g |
| 4 | +#LIBS = $(ROOTLIBS) |
| 5 | + |
| 6 | +all: poke peek fei4_sr fei4_cal fei4_dig fei4_analog fei4_alive fei4_plot fei4_producer fei4_tdac fei4_trimfit fei4_self fei4_self_gui fei4_hot fmc228_dump fmc228_print amc502_mux amc502_pll amc502_lock amc502_stress amc502_edges fmc164_hist fmc164_plot fmc228_plot |
| 7 | +#configure: configure.cc stib.cc stib.hh |
| 8 | +# g++ $(ROOTOPTS) -o configure configure.cc stib.cc $(LIBS) |
| 9 | +#make10b8b : make10b8b.cc |
| 10 | +# g++ -g -o make10b8b make10b8b.cc |
| 11 | +#test10b8b : test10b8b.cc |
| 12 | +# g++ -g -o test10b8b test10b8b.cc |
| 13 | +# |
| 14 | +poke : poke.cc stib.hh stib.cc |
| 15 | + g++ -g -o poke poke.cc stib.cc |
| 16 | +peek : peek.cc stib.hh stib.cc |
| 17 | + g++ -g -o peek peek.cc stib.cc |
| 18 | +#fei4_config : fei4_config.cc fei4.hh fei4.cc stib.hh stib.cc |
| 19 | +# g++ -g -o fei4_config fei4_config.cc fei4.cc stib.cc |
| 20 | +#fei4_stream : fei4_stream.cc |
| 21 | +# g++ -g $(ROOTOPTS) -o fei4_stream fei4_stream.cc $(ROOTLIBS) |
| 22 | +fei4_sr : fei4_sr.cc fei4.hh fei4.cc stib.hh stib.cc |
| 23 | + g++ -g -o fei4_sr fei4_sr.cc fei4.cc stib.cc |
| 24 | +fei4_cal : fei4_cal.cc fei4.hh fei4.cc stib.hh stib.cc |
| 25 | + g++ -g -o fei4_cal fei4_cal.cc fei4.cc stib.cc |
| 26 | +fei4_dig : fei4_dig.cc fei4.hh fei4.cc stib.hh stib.cc |
| 27 | + g++ -g -o fei4_dig fei4_dig.cc fei4.cc stib.cc |
| 28 | +#fei4_dig320 : fei4_dig320.cc fei4.hh fei4.cc stib.hh stib.cc |
| 29 | +# g++ -g -o fei4_dig320 fei4_dig320.cc fei4.cc stib.cc |
| 30 | +fei4_analog : fei4_analog.cc fei4.hh fei4.cc stib.hh stib.cc |
| 31 | + g++ -g $(ROOTOPTS) -o fei4_analog fei4_analog.cc fei4.cc stib.cc $(ROOTLIBS) |
| 32 | +#fei4_read_latches : fei4_read_latches.cc fei4.hh fei4.cc stib.hh stib.cc |
| 33 | +# g++ -g -o fei4_read_latches fei4_read_latches.cc fei4.cc stib.cc |
| 34 | +fei4_alive : fei4_alive.cc fei4.hh fei4.cc stib.hh stib.cc |
| 35 | + g++ -g $(ROOTOPTS) -o fei4_alive fei4_alive.cc fei4.cc stib.cc $(ROOTLIBS) |
| 36 | +#fei4_alive320 : fei4_alive320.cc fei4.hh fei4.cc stib.hh stib.cc |
| 37 | +# g++ -g $(ROOTOPTS) -o fei4_alive320 fei4_alive320.cc fei4.cc stib.cc $(ROOTLIBS) |
| 38 | +fei4_plot : fei4_plot.cc fei4.hh fei4.cc stib.hh stib.cc |
| 39 | + g++ -g $(ROOTOPTS) -o fei4_plot fei4_plot.cc fei4.cc stib.cc $(ROOTLIBS) |
| 40 | +fei4_producer : fei4_producer.cc fei4.hh fei4.cc stib.hh stib.cc |
| 41 | + g++ -g $(ROOTOPTS) -o fei4_producer fei4_producer.cc fei4.cc stib.cc -lNew $(ROOTLIBS) |
| 42 | +#fei4_reg : fei4_reg.cc fei4.hh fei4.cc stib.hh stib.cc |
| 43 | +# g++ -g -o fei4_reg fei4_reg.cc fei4.cc stib.cc |
| 44 | +#fei4_latch : fei4_latch.cc fei4.hh fei4.cc stib.hh stib.cc |
| 45 | +# g++ -g -o fei4_latch fei4_latch.cc fei4.cc stib.cc |
| 46 | +#fei4_scan : fei4_scan.cc fei4.hh fei4.cc stib.hh stib.cc |
| 47 | +# g++ -g $(ROOTOPTS) -o fei4_scan fei4_scan.cc fei4.cc stib.cc $(ROOTLIBS) |
| 48 | +# fei4_analog : fei4_analog.cc fei4.hh fei4.cc stib.hh stib.cc |
| 49 | +# g++ -g $(ROOTOPTS) -o fei4_analog fei4_analog.cc fei4.cc stib.cc $(ROOTLIBS) |
| 50 | +fei4_tdac : fei4_tdac.cc fei4.hh fei4.cc stib.hh stib.cc |
| 51 | + g++ -g $(ROOTOPTS) -o fei4_tdac fei4_tdac.cc fei4.cc stib.cc $(ROOTLIBS) |
| 52 | +#fei4_qdac : fei4_qdac.cc fei4.hh fei4.cc stib.hh stib.cc |
| 53 | +# g++ -g $(ROOTOPTS) -o fei4_qdac fei4_qdac.cc fei4.cc stib.cc $(ROOTLIBS) |
| 54 | +fei4_trimfit : fei4_trimfit.cc fei4.hh fei4.cc stib.hh stib.cc |
| 55 | + g++ -g $(ROOTOPTS) -o fei4_trimfit fei4_trimfit.cc fei4.cc stib.cc $(ROOTLIBS) |
| 56 | +#fei4_print : fei4_print.cc fei4.hh fei4.cc stib.hh stib.cc |
| 57 | +# g++ -g $(ROOTOPTS) -o fei4_print fei4_print.cc fei4.cc stib.cc $(ROOTLIBS) |
| 58 | +#fei4_pdly : fei4_pdly.cc fei4.hh fei4.cc stib.hh stib.cc |
| 59 | +# g++ -g $(ROOTOPTS) -o fei4_pdly fei4_pdly.cc fei4.cc stib.cc $(ROOTLIBS) |
| 60 | +#test_ethio: test_ethio.cc fei4.hh fei4.cc stib.hh stib.cc |
| 61 | +# g++ -g $(ROOTOPTS) -o test_ethio test_ethio.cc fei4.cc stib.cc $(ROOTLIBS) |
| 62 | +#fei4_tot : fei4_tot.cc fei4.hh fei4.cc stib.hh stib.cc |
| 63 | +# g++ -g $(ROOTOPTS) -o fei4_tot fei4_tot.cc fei4.cc stib.cc $(ROOTLIBS) |
| 64 | +#fei4_checktot : fei4_checktot.cc fei4.hh fei4.cc stib.hh stib.cc |
| 65 | +# g++ -g $(ROOTOPTS) -o fei4_checktot fei4_checktot.cc fei4.cc stib.cc $(ROOTLIBS) |
| 66 | +fei4_self : fei4_self.cc fei4.hh fei4.cc stib.hh stib.cc |
| 67 | + g++ -g -o fei4_self fei4_self.cc fei4.cc stib.cc |
| 68 | +fei4_self_gui : fei4_self_gui.cc fei4.hh fei4.cc stib.hh stib.cc |
| 69 | + g++ -g $(ROOTOPTS) -o fei4_self_gui fei4_self_gui.cc fei4.cc stib.cc $(ROOTLIBS) |
| 70 | +fei4_hot : fei4_hot.cc fei4.hh fei4.cc stib.hh stib.cc |
| 71 | + g++ -g -o fei4_hot fei4_hot.cc fei4.cc stib.cc |
| 72 | +fmc228_dump : fmc228_dump.cc fmc228.hh fmc228.cc stib.hh stib.cc |
| 73 | + g++ -g -o fmc228_dump fmc228_dump.cc fmc228.cc stib.cc |
| 74 | +fmc228_print : fmc228_print.cc fmc228.hh fmc228.cc stib.hh stib.cc |
| 75 | + g++ -g -o fmc228_print fmc228_print.cc fmc228.cc stib.cc |
| 76 | +#amc502_clocks : amc502_clocks.cc amc502.hh amc502.cc stib.hh stib.cc |
| 77 | +# g++ -g -o amc502_clocks amc502_clocks.cc amc502.cc stib.cc |
| 78 | +amc502_mux : amc502_mux.cc amc502.hh amc502.cc stib.hh stib.cc |
| 79 | + g++ -g -o amc502_mux amc502_mux.cc amc502.cc stib.cc |
| 80 | +amc502_pll : amc502_pll.cc amc502.hh amc502.cc stib.hh stib.cc |
| 81 | + g++ -g -o amc502_pll amc502_pll.cc amc502.cc stib.cc |
| 82 | +amc502_lock : amc502_lock.cc amc502.hh amc502.cc stib.hh stib.cc |
| 83 | + g++ -g -o amc502_lock amc502_lock.cc amc502.cc stib.cc |
| 84 | +amc502_stress : amc502_stress.cc amc502.hh amc502.cc stib.hh stib.cc |
| 85 | + g++ -g -o amc502_stress amc502_stress.cc amc502.cc stib.cc |
| 86 | +amc502_edges : amc502_edges.cc amc502.hh amc502.cc stib.hh stib.cc |
| 87 | + g++ -g -o amc502_edges amc502_edges.cc amc502.cc stib.cc |
| 88 | +fmc164_hist : fmc164_hist.cc |
| 89 | + g++ -g $(ROOTOPTS) -o fmc164_hist fmc164_hist.cc $(ROOTLIBS) |
| 90 | +fmc164_plot : fmc164_plot.cc |
| 91 | + g++ -g $(ROOTOPTS) -o fmc164_plot fmc164_plot.cc $(ROOTLIBS) |
| 92 | +fmc228_plot : fmc228_plot.cc |
| 93 | + g++ -g $(ROOTOPTS) -o fmc228_plot fmc228_plot.cc $(ROOTLIBS) |
| 94 | + |
| 95 | +clean : |
| 96 | + rm poke peek fei4_sr fei4_cal fei4_dig fei4_analog fei4_alive fei4_plot fei4_producer fei4_tdac fei4_trimfit fei4_self fei4_self_gui fei4_hot fmc228_dump fmc228_print amc502_mux amc502_pll amc502_lock amc502_stress amc502_edges fmc164_hist fmc164_plot fmc228_plot |
0 commit comments