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

CFLAGS= -Wall -g \
3
4
	-I../controller -I../block -I../utils -I../dt_azimuth -I../dt_elevation -I../ec
LDFLAGS= -lpthread -lrt -lm -lcontroller -lethercat -lblock -llog -L../lib -L../../common/lib
5
6
7
8
9

OS= $(shell uname -s)
ifneq ($(OS), FreeBSD)
LDFLAGS+= -ldl
endif
Jeroen Vreeken's avatar
Jeroen Vreeken committed
10

11
all: iir_test
Jeroen Vreeken's avatar
Jeroen Vreeken committed
12

Jeroen Vreeken's avatar
Jeroen Vreeken committed
13
iir_test: iir_test.o
Jeroen Vreeken's avatar
Jeroen Vreeken committed
14

15
SRCS=iir_test.c
Jeroen Vreeken's avatar
Jeroen Vreeken committed
16
17
18
19
20
21
22

clean:
	rm -f *.o *.d
	rm -f ec_test
	rm -fr iir_test

include ../build.mk