build.mk 364 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3
4
5
6
7

SHELL_TARGETS += $(LIBDIR)/libshell.la

SHELL_SRCS= $(DIR)/shell.c
SHELL_OBJS := $(SHELL_SRCS:.c=.lo)


8
$(SHELL_OBJS): CFLAGS += -O3 -Wall
Jeroen Vreeken's avatar
Jeroen Vreeken committed
9
$(LIBDIR)/libshell.la: liblog.la
10
$(LIBDIR)/libshell.la_LDFLAGS += -llog -lpthread
Jeroen Vreeken's avatar
Jeroen Vreeken committed
11
12
13
14
15
16
17
$(LIBDIR)/libshell.la: $(SHELL_OBJS)
	$(LIB_LINK)


TARGETS += $(SHELL_TARGETS)
CLEAN += $(SHELL_TARGETS) $(SHELL_OBJS)
SRCS += $(SHELL_SRCS)