3 CFLAGS
+=-ggdb3
-DDEBUG
-Og
-Wall
-pedantic
9 CFLAGS
+=$(shell pkg-config fuse loudmouth-1.0
--cflags)
10 LDLIBS
:=$(shell pkg-config fuse loudmouth-1.0
--libs
)
15 $(MAKE
) --no-print-directory
$(EXE
)
17 SRCS
:= $(wildcard *.c
) version.c
18 OBJS
:= $(SRCS
:%.c
=%.o
)
25 -include $(SRCS
:.c
=.d
)
28 echo
"char HateXMPP_ver[] = "\"0.2-`git log --no-show-signature -n1 --pretty=format:%H`\""; char * getversion(void) { return HateXMPP_ver; }" > version.c
33 rm -rf
*.o
*.d version.c
$(EXE
)
36 install $(EXE
) $(DESTDIR
)/usr
/bin
39 astyle
--style
=linux
--indent
=tab
--unpad-paren
--pad-header
--pad-oper
*.c
*.h