fix rules for optional plugins.
[galan.git] / src / main.c
blob5ca6bfea851abf2258342dc969273c66164848bd
1 /* gAlan - Graphical Audio Language
2 * Copyright (C) 1999 Tony Garnock-Jones
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include <stdlib.h>
20 #include <stdio.h>
21 #include <string.h>
23 #include "global.h"
25 /* The following declaration serves as a normal prototype when compiling for Unix,
26 and a DLL-import-declaration when compiling for Win32. */
27 G_MODULE_IMPORT int galan_main(int argc, char *argv[]);
29 PUBLIC int main(int argc, char *argv[]) {
30 printf("gAlan version " VERSION "\n"
31 "Copyright (C) 1999 Tony Garnock-Jones\n"
32 "Copyright (C) 2002 Torben Hohn\n"
33 "gAlan comes with ABSOLUTELY NO WARRANTY; for details, see the file\n"
34 "\"COPYING\" that came with the gAlan distribution.\n"
35 "This is free software, distributed under the GNU General Public\n"
36 "License. Please see \"COPYING\" or http://www.gnu.org/copyleft/gpl.txt\n");
38 return galan_main(argc, argv);