Mercurial > pidgin
annotate console/libgnt/test/Makefile @ 15798:fc7e23aea104
Fix reversed NULL check.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sat, 17 Mar 2007 17:41:14 +0000 |
parents | 62bb53609a36 |
children |
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 |
14613
62bb53609a36
[gaim-migrate @ 17341]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
14201
diff
changeset
|
5 EXAMPLES=combo focus tv multiwin keys menu |
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) |