1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
>What about using the make
6
utility? [GTK 2.x]</TITLE
9
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
12
HREF="book1.html"><LINK
14
TITLE="Development with GTK+: the begining"
15
HREF="c387.html"><LINK
17
TITLE="I tried to compile a small Hello World of mine,
18
but it failed. Any clue? [GTK 2.x]"
19
HREF="x409.html"><LINK
21
TITLE="I use the backquote stuff in my makefiles, but my make
22
process failed. [GTK 2.x]"
23
HREF="x434.html"></HEAD
34
SUMMARY="Header navigation table"
53
><<< Previous</A
59
>Development with GTK+: the begining</TD
67
>Next >>></A
80
>What about using the <B
90
>This is a sample makefile which compiles a GTK+ based
99
CLASS="PROGRAMLISTING"
100
># basic GTK+ app makefile
101
SOURCES = myprg.c foo.c bar.c
102
OBJS = ${SOURCES:.c=.o}
103
CFLAGS = `pkg-config gtk+-2.0 --cflags`
104
LDADD = `pkg-config gtk+-2.0 --libs`
109
${CC} -o ${PACKAGE} ${OBJS} ${LDADD}
112
${CC} ${CFLAGS} -c $<
119
>For more information about the <B
123
should read either the related man page or the relevant info file.</P
130
SUMMARY="Footer navigation table"
143
><<< Previous</A
161
>Next >>></A
169
>I tried to compile a small <B
173
but it failed. Any clue? <I
190
>I use the backquote stuff in my makefiles, but my make
b'\\ No newline at end of file'