Makefile
[app.Builder.js] / Makefile
1
2 #vapigen --library gobject-introspection-1.0 /usr/share/gir-1.0/GIRepository-2.0.gir
3
4
5 PKGS=   --pkg gtk+-3.0 \
6                 --pkg gtksourceview-3.0 \
7                 --pkg libxml-2.0 \
8                 --pkg json-glib-1.0 \
9                 --pkg gee-1.0 \
10                 --pkg gobject-introspection-1.0 \
11                 --pkg webkit2gtk-3.0 \
12                 --pkg clutter-gtk-1.0
13
14
15 FLAGS= -g ==vapidir=. 
16
17 CORESRC= JsRender/*.vala \
18                 Project/*.vala \
19                 Palete/*.vala 
20
21 BUILDER4= Builder4/Application.vala \
22                 Builder4/About.vala \
23                 Builder4/DialogConfirm.vala \
24                 Builder4/DialogNewComponent.vala \
25                 Builder4/StandardErrorDialog.vala \
26                 Builder4/DialogSaveTemplate.vala \
27                 Builder4/DialogTemplateSelect.vala \
28                 Builder4/EditProject.vala \
29                 Builder4/Editor.vala \
30                 Builder4/ProjectSettings.vala \
31                 Builder4/MainWindow.vala \
32                 Builder4/WindowRightPalete.vala \
33                 Builder4/WindowLeftTree.vala \
34                 Builder4/WindowRooView.vala \
35                 Builder4/WindowLeftProps.vala \
36                 Builder4/ClutterFiles.vala \
37                 Builder4/WindowLeftProjects.vala \
38
39
40 # for testing 
41 all:
42    test-leftprops
43 #  test-full
44
45 test-leftprops:
46         valac $(FLAGS) $(PKGS) $(CORESRC) \
47                 Builder4/TestLeftProps.vala \
48                 Builder4/WindowLeftProps.vala \
49                 -o /tmp/test-leftprops
50
51 test-full:
52          valac $(FLAGS) $(PKGS) $(CORESRC) $(BUILDER4)  
53                 Test.GtkWriter.vala  -o /tmp/test
54
55
56 datatest:
57         valac -g  --pkg gtk+-3.0 \
58                 --pkg gtksourceview-3.0 \
59                 --pkg libxml-2.0 \
60                 --pkg json-glib-1.0 \
61                 --pkg gee-1.0 \
62                 --pkg gobject-introspection-1.0 \
63                 Test.GtkWriter.vala \
64                 JsRender/*.vala \
65                 Project/*.vala \
66                 Palete/*.vala \
67                 -o /tmp/test
68 #               Builder4/*.vala \
69
70 clean:
71         rm -rf /tmp/test