Makefile 550 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1

Jeroen Vreeken's avatar
Jeroen Vreeken committed
2
CFLAGS= -Wall -I../controller -I../ec -I../log -I../utils -g
Jeroen Vreeken's avatar
Jeroen Vreeken committed
3

Jeroen Vreeken's avatar
Jeroen Vreeken committed
4
SRCS= dt_el_safety.c dt_el_stoeber_r_sim.c dt_el_stoeber_l_sim.c
Jeroen Vreeken's avatar
Jeroen Vreeken committed
5

Jeroen Vreeken's avatar
Jeroen Vreeken committed
6
7
8
9
10
11
12
13
14
15
16
ARCHOBJS=$(SRCS:.c=.lo)

all: libdt_elevation.la_install

libdt_elevation.la_LDFLAGS=-rpath ${CURDIR}/../lib -lcontroller -L../lib
libdt_elevation.la: $(ARCHOBJS)

libdt_elevation.la_install: libdt_elevation.la
	@echo "CP $^ to libdir"
	@${LIBTOOL} --quiet --mode=install install libdt_elevation.la ${CURDIR}/../lib

Jeroen Vreeken's avatar
Jeroen Vreeken committed
17
18
19
20
21

dt_elevation: dt_elevation.a($(OBJS))


clean:
22
	rm -rf *.o *.a *.d *.lo .libs *la
Jeroen Vreeken's avatar
Jeroen Vreeken committed
23
24

include ../build.mk