Small improvements in build process - dont compile graphical code when not used
[ZeXOS.git] / apps / webcl / main.c
blob1f3d184ba43dceeebd550662d5dcf0c8bb2b1b26
1 /*
2 * ZeX/OS
3 * Copyright (C) 2008 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #include <stdio.h>
21 #include <string.h>
22 #include <stdlib.h>
23 #include <unistd.h>
25 #define ESC 1
27 int main (int argc, char **argv)
29 puts ("webcl");
31 if (argc < 2) {
32 puts ("webcl -> Please specify web address !");
33 return 1;
36 if (init (argv[1]) < 1) {
37 puts ("webcl -> init (0) !");
38 return 0;
41 /* while (1) {
42 if (loop () == -1)
43 break;
45 schedule ();
46 }*/
48 puts ("webcl -> Bye !");
50 return 0;