13 #CC=cc |
13 #CC=cc |
14 #CFLAGS=-O -h list=m $(CPPFLAGS) |
14 #CFLAGS=-O -h list=m $(CPPFLAGS) |
15 # robin1 and Penguins |
15 # robin1 and Penguins |
16 CFLAGS=-g -Wall -O $(CPPFLAGS) |
16 CFLAGS=-g -Wall -O $(CPPFLAGS) |
17 |
17 |
18 all: h1_summary h1_summary2 add_total_fields |
18 all: h1_summary h1_summary2 h1_summary_cb add_total_fields |
19 |
19 |
20 h1_summary: h1_summary.o |
20 h1_summary: h1_summary.o |
21 $(CC) $(CFLAGS) -o $@ h1_summary.o $(LIBS) |
21 $(CC) $(CFLAGS) -o $@ h1_summary.o $(LIBS) |
22 |
22 |
23 h1_summary2: h1_summary2.o |
23 h1_summary2: h1_summary2.o |
24 $(CC) $(CFLAGS) -o $@ h1_summary2.o $(LIBS) |
24 $(CC) $(CFLAGS) -o $@ h1_summary2.o $(LIBS) |
25 |
25 |
|
26 h1_summary_cb: h1_summary_cb.o |
|
27 $(CC) $(CFLAGS) -o $@ h1_summary_cb.o $(LIBS) |
|
28 |
26 add_total_fields: add_total_fields.o |
29 add_total_fields: add_total_fields.o |
27 $(CC) $(CFLAGS) -o $@ add_total_fields.o $(LIBS) |
30 $(CC) $(CFLAGS) -o $@ add_total_fields.o $(LIBS) |
28 |
31 |
29 clean: |
32 clean: |
30 $(RM) -f h1_summary.o h1_summary |
33 $(RM) -f h1_summary.o h1_summary |
31 $(RM) -f h1_summary2.o h1_summary2 |
34 $(RM) -f h1_summary2.o h1_summary2 |
|
35 $(RM) -f h1_summary_cb.o h1_summary_cb |
32 $(RM) -f add_total_fields.o add_total_fields |
36 $(RM) -f add_total_fields.o add_total_fields |
33 |
37 |
34 install: all |
38 install: all |
35 cp -p h1_summary $(HOME)/bin/h1_summary.`uname -n` |
39 cp -p h1_summary $(HOME)/bin/h1_summary.`uname -n` |
36 cp -p h1_summary2 $(HOME)/bin/h1_summary2.`uname -n` |
40 cp -p h1_summary2 $(HOME)/bin/h1_summary2.`uname -n` |
|
41 cp -p h1_summary_cb $(HOME)/bin/h1_summary_cb.`uname -n` |
37 cp -p add_total_fields $(HOME)/bin/add_total_fields.`uname -n` |
42 cp -p add_total_fields $(HOME)/bin/add_total_fields.`uname -n` |
38 |
43 |