Makefile 501 Bytes
Newer Older
Jeroen Vreeken's avatar
Jeroen Vreeken committed
1
2
3

CFLAGS= -Wall -O3 -I../controller -I../ec -I../log -I../utils

Jeroen Vreeken's avatar
Jeroen Vreeken committed
4
ARCHSRCS= dt_az_safety.c dt_az_stoeber_sim.c
Jeroen Vreeken's avatar
Jeroen Vreeken committed
5
ARCHOBJS=$(ARCHSRCS:.c=.lo)
Jeroen Vreeken's avatar
Jeroen Vreeken committed
6

Jeroen Vreeken's avatar
Jeroen Vreeken committed
7
all: libdt_azimuth.la_install
Jeroen Vreeken's avatar
Jeroen Vreeken committed
8

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

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


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

SRCS=$(ARCHSRCS)

include ../build.mk