~carsten-munk/m-r/libhildon-2.1.24

« back to all changes in this revision

Viewing changes to examples/Makefile.static

  • Committer: Carsten V. Munk
  • Date: 2008-12-08 15:00:57 UTC
  • Revision ID: cvm@cs.au.dk-20081208150057-7e0a50c8zdupbzar
initial commit of 2.1.24

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CC=gcc
 
2
CFLAGS=-O0 -g -Wall -I/usr/include -I/usr/X11R6/include `pkg-config --cflags glib-2.0 gconf-2.0 gthread-2.0 hildon-1`
 
3
LDFLAGS=-pthread -L/usr/X11R6/lib -lm `pkg-config --libs glib-2.0 gthread-2.0 hildon-1`
 
4
 
 
5
EXAMPLES = $(patsubst %.c,%,$(wildcard *.c))
 
6
 
 
7
all: $(EXAMPLES)
 
8
 
 
9
 
 
10
%:%.c
 
11
        gcc $(LDFLAGS) $(CFLAGS) -o $@ $<
 
12
 
 
13
 
 
14
clean:
 
15
        rm -f *example
 
16
        rm -f *example-[1-9]
 
17