2 # gPodder - A media aggregator and podcast client
3 # Copyright (c) 2005-2011 Thomas Perl and the gPodder Team
5 # gPodder 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 # gPodder 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/>.
21 # Makefile for building the Win32 Launcher for gPodder
22 # Thomas Perl <thp@gpodder.org>; 2009-04-29
26 LDFLAGS
=-lkernel32
-lshell32
-lwininet
30 gpodder
: gpodder-res.o gpodder_gui.o downloader_gui.o
31 $(CC
) -o
$@
-mwindows
$^
$(LDFLAGS
)
33 gpo
: gpo-res.o gpodder_cli.o downloader_cli.o
34 $(CC
) -o
$@
$^
$(LDFLAGS
)
36 gpodder_gui.o
: gpodder.c
37 $(CC
) -c
-o
$@
$(CFLAGS
) -DGPODDER_GUI
$^
39 gpodder_cli.o
: gpodder.c
40 $(CC
) -c
-o
$@
$(CFLAGS
) -DGPODDER_CLI
$^
42 downloader_gui.o
: downloader.c
43 $(CC
) -c
-o
$@
$(CFLAGS
) -DGPODDER_GUI
$^
45 downloader_cli.o
: downloader.c
46 $(CC
) -c
-o
$@
$(CFLAGS
) -DGPODDER_CLI
$^
48 gpodder-res.o
: gpodder.res