]> git.llucax.com Git - software/sadba.git/blob - src/Makefile
Use a symbolic constant for the banner duration
[software/sadba.git] / src / Makefile
1 OBJS=lib-display-blanking-status-menu-widget.o
2 SOURCES=lib-display-blanking-status-menu-widget.c
3 LIB=lib-displayblanking-status-menu.so
4 PKG_FLAGS=$(shell pkg-config hildon-1 libhildondesktop-1 --libs --cflags)
5 CCFLAGS=-shared -Wall -Werror -pedantic -std=c99
6 CC=gcc
7
8 all:$(LIB)
9
10 $(LIB):$(OBJS)
11         $(CC) $(CCFLAGS) $(PKG_FLAGS) $(OBJS) -o $(LIB)
12
13 .c.o:
14         $(CC) $(CCFLAGS) $(PKG_FLAGS) -c $< -o $@
15
16 .PHONE: clean all
17
18 clean:
19         rm -f $(OBJS) $(LIB)