build.mk 373 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

SHELL_TARGETS += $(LIBDIR)/libshell.la

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


$(LIBDIR)/libshell.la: liblog.la
$(LIBDIR)/libshell.la: LDFLAGS += -llog -lpthread
$(LIBDIR)/libshell.la: CFLAGS += -O3 -Wall
$(LIBDIR)/libshell.la: $(SHELL_OBJS)
	$(LIB_LINK)


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