forked from mattn/go-gtk
/
Makefile
39 lines (33 loc) · 867 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
include $(GOROOT)/src/Make.inc
GC=${O}g -I../glib/_obj -I../gdk/_obj -I../gdkpixbuf/_obj -I$(GOROOT)/pkg/$(GOOS)_$(GOARCH)
all:
cd pango && gomake
cd glib && gomake
cd gdk && gomake
cd gdkpixbuf && gomake
cd gtk && gomake
cd gtksourceview && gomake
install:
cd pango && gomake install
cd glib && gomake install
cd gdk && gomake install
cd gdkpixbuf && gomake install
cd gtk && gomake install
cd gtksourceview && gomake install
clean:
cd pango && gomake clean
cd glib && gomake clean
cd gdk && gomake clean
cd gdkpixbuf && gomake clean
cd gtk && gomake clean
cd gtksourceview && gomake clean
cd example && gomake clean
fmt_all:
gofmt -w ./gdk/gdk.go
gofmt -w ./gtk/gtk.go
gofmt -w ./gtksourceview/gtksourceview.go
gofmt -w ./gdkpixbuf/gdkpixbuf.go
gofmt -w ./glib/glib.go
gofmt -w ./pango/pango.go
example: install
cd example && gomake