blob: 09c33780e18d5611979a477e3e24c291d6969c02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
CC = gcc
REQUIRED_PKG = vconf ecore
CFLAGS = -g -Wall
LDFLAGS =
ifdef REQUIRED_PKG
CFLAGS += `pkg-config --cflags $(REQUIRED_PKG)`
LDFLAGS += `pkg-config --libs $(REQUIRED_PKG)`
endif
SRCS = vconf_notitest.c vconf_timecheck.c vconf_unit_test.c
OBJECTS = $(SRCS:.c=.o)
TARGETS = $(OBJECTS:.o=)
all: $(TARGETS)
% : %.o
$(CC) $(LDFLAGS) -o $@ $<
clean:
rm -rf $(OBJECTS) $(TARGETS)
|