build.mk 306 Bytes
Newer Older
1
2
3
4
5
6
7
8

ARCHSRCS = $(DIR)/log.c
ARCHOBJS = $(ARCHSRCS:.c=.lo)

SRCS+=$(ARCHSRCS)

TARGETS += $(LIBDIR)/liblog.la

Jeroen Vreeken's avatar
Jeroen Vreeken committed
9
$(LIBDIR)/liblog.la: libutils.la
Jeroen Vreeken's avatar
Jeroen Vreeken committed
10
$(LIBDIR)/liblog.la: LDFLAGS += -lutils
11
12
13
14
15
$(LIBDIR)/liblog.la: CFLAGS += -Wall -O3 -fPIC
$(LIBDIR)/liblog.la: $(ARCHOBJS)
	$(LIB_LINK)

CLEAN += $(TARGETS) $(ARCHOBJS)