grim/purple-signals
Clone
Summary
Browse
Changes
Graph
initial revision
2009-07-09, Gary Kramlich
ccb48ffaf202
initial revision
TARGET
=
purple_signals
SOURCES
=
purple_signals.c
BUILT_SOURCES
=
marshallers.c
marshallers.h
GLIB_GENMARSHAL
=
`
pkg-config
--variable
=
glib_genmarshal
glib-2.0
`
CC
=
gcc
ARGS
=
\
`
pkg-config
--libs
--cflags
glib-2.0
`
\
`
pkg-config
--libs
--cflags
gobject-2.0
`
\
-g
-g3
-Wall
all
:
$(
TARGET
)
$(TARGET)
:
$(
SOURCES
)
$(
BUILT_SOURCES
)
$(
CC
)
$(
ARGS
)
$(
SOURCES
)
$(
BUILT_SOURCES
)
-o
$(
TARGET
)
marshallers.h
:
marshallers
.
list
$(
GLIB_GENMARSHAL
)
--prefix
=
purple_marshal
marshallers.list
--header
>
marshallers.h
marshallers.c
:
marshallers
.
list
marshallers
.
h
$(
GLIB_GENMARSHAL
)
--prefix
=
purple_marshal
marshallers.list
--body
>
marshallers.c
clean
:
rm
-f
*.o
$(
TARGET
)
$(
BUILT_SOURCES
)