forked from vdobler/chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·42 lines (33 loc) · 658 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
include $(GOROOT)/src/Make.inc
TARG=github.com/vdobler/chart
GOFILES=\
chart.go\
data.go\
util.go\
style.go\
key.go\
graphics.go\
stat.go\
time.go\
strip.go\
scatter.go\
box.go\
hist.go\
bar.go\
pie.go
include $(GOROOT)/src/Make.pkg
DRIVERS=\
svg\
txt\
image
samplechart: samplecharts.go install drivers
$(GC) -I. samplecharts.go
$(LD) -L. -o samplecharts samplecharts.$(O)
format: $(GOFILES) samplecharts.go
gofmt -w $^
for d in $(DRIVERS); do (cd $$d; make format); done
drivers:
for d in $(DRIVERS); do (cd $$d; make install || exit 1) || exit 1; done
CLEAN:
make clean
for d in $(DRIVERS); do (cd $$d; make clean); done