~ubuntu-branches/debian/wheezy/tickr/wheezy

« back to all changes in this revision

Viewing changes to src/tickr/Makefile-tickr-win32

  • Committer: Bazaar Package Importer
  • Author(s): Emmanuel Thomas-Maurin
  • Date: 2011-08-19 16:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110819160000-zjko4f60pdxt9i74
Tags: upstream-0.5.3
ImportĀ upstreamĀ versionĀ 0.5.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile for TICKR - GTK-based RSS Ticker - win32 version
 
2
 
 
3
src =   news_main.c news_resource.c news_render.c news_params.c news_clock.c\
 
4
        news_rss.c news_list.c news_rsswin.c news_prefwin.c news_otherwins.c\
 
5
        news_misc.c news_helptext.c news_opml.c news_http.c news_connectwin.c
 
6
 
 
7
obj =   $(src:.c=.o)
 
8
 
 
9
CC =    gcc
 
10
 
 
11
CFLAGS = -O2 -Wall -Wextra -Wunused-parameter -Wshadow -Wpointer-arith -ffast-math -pedantic\
 
12
        `pkg-config --cflags gtk+-2.0` -I/usr/local/include/libxml2 -D WIN32_V
 
13
 
 
14
LIBS =  --mms-bitfields -mwindows -lwinmm -lrpcrt4 -liphlpapi -lws2_32 /usr/local/lib/libetm.a\
 
15
        `pkg-config --libs gtk+-2.0` -static /usr/local/lib/libxml2.dll.a
 
16
 
 
17
all:    tickr
 
18
 
 
19
$(obj): $(src) news.h Makefile
 
20
        $(CC) $(CFLAGS) -c $(src)
 
21
 
 
22
tickr: $(obj)
 
23
        $(CC) -o tickr $(obj) $(LIBS)
 
24
 
 
25
.PHONY: clean
 
26
clean:
 
27
        rm -f $(obj) tickr.exe