Mercurial > pidgin
annotate console/libgnt/test/Makefile @ 14201:cb6bbd248941
[gaim-migrate @ 16874]
Updated makefile for the keys test program
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sat, 19 Aug 2006 06:02:26 +0000 |
parents | b0e37dcb3987 |
children | 62bb53609a36 |
rev | line source |
---|---|
13887
7d3256b253ec
[gaim-migrate @ 16368]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
13883
diff
changeset
|
1 CC=gcc |
13960
a06f7495af6f
[gaim-migrate @ 16513]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
13935
diff
changeset
|
2 CFLAGS=`pkg-config --cflags gobject-2.0 gmodule-2.0` -g -I../ -DSTANDALONE |
13961
b0e37dcb3987
[gaim-migrate @ 16514]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
13960
diff
changeset
|
3 LDFLAGS=`pkg-config --libs gobject-2.0 gmodule-2.0 gnt` -pg |
13883
ab6376814e73
[gaim-migrate @ 16363]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
4 |
14201
cb6bbd248941
[gaim-migrate @ 16874]
Evan Schoenberg <evan.s@dreskin.net>
parents:
13961
diff
changeset
|
5 EXAMPLES=combo focus tv multiwin keys |
13883
ab6376814e73
[gaim-migrate @ 16363]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
6 |
ab6376814e73
[gaim-migrate @ 16363]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
7 all: |
ab6376814e73
[gaim-migrate @ 16363]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
8 make examples |
ab6376814e73
[gaim-migrate @ 16363]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
9 |
ab6376814e73
[gaim-migrate @ 16363]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
10 clean: |
13960
a06f7495af6f
[gaim-migrate @ 16513]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
13935
diff
changeset
|
11 rm -f $(EXAMPLES) *.so wm |
a06f7495af6f
[gaim-migrate @ 16513]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
13935
diff
changeset
|
12 |
a06f7495af6f
[gaim-migrate @ 16513]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
13935
diff
changeset
|
13 WM: wm |
a06f7495af6f
[gaim-migrate @ 16513]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
13935
diff
changeset
|
14 for i in $(EXAMPLES); do gcc -shared $(CFLAGS) -USTANDALONE $(LDFLAGS) $${i}.c -o $${i}.so ; done |
13883
ab6376814e73
[gaim-migrate @ 16363]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
15 |
ab6376814e73
[gaim-migrate @ 16363]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff
changeset
|
16 examples: $(EXAMPLES) |