Makefile 387 Bytes
Newer Older
1
CFLAGS= -Wall -O3 -I ../../common/log
Jeroen Vreeken's avatar
Jeroen Vreeken committed
2
3

SRCS= shell.c
Jeroen Vreeken's avatar
Jeroen Vreeken committed
4
ARCHOBJS = $(SRCS:.c=.lo)
Jeroen Vreeken's avatar
Jeroen Vreeken committed
5

Jeroen Vreeken's avatar
Jeroen Vreeken committed
6
all: libshell.la_install
Jeroen Vreeken's avatar
Jeroen Vreeken committed
7

Jeroen Vreeken's avatar
Jeroen Vreeken committed
8
9
10
11
12
13
libshell.la_LDFLAGS=-rpath ${CURDIR}/../lib -lcontroller
libshell.la: $(ARCHOBJS)

libshell.la_install: libshell.la
	@echo "CP $^ to libdir"
	@${LIBTOOL} --quiet --mode=install install libshell.la ${CURDIR}/../lib
Jeroen Vreeken's avatar
Jeroen Vreeken committed
14
15
16


clean:
17
	rm -rf *.o *.a *.d *.lo *.la .libs
Jeroen Vreeken's avatar
Jeroen Vreeken committed
18
19
20


include ../build.mk