build.mk 297 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

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

CLEAN += $(TARGETS) $(ARCHOBJS)