Makefile 475 Bytes
Newer Older
Geithner, Thomas's avatar
Geithner, Thomas committed
1

2
CXXFLAGS+=-g -O0
Mall, Anon's avatar
Mall, Anon committed
3
override CXXFLAGS+=-std=c++11
Geithner, Thomas's avatar
Geithner, Thomas committed
4
LDLIBS+=-lpthread
5
LDLIBS+=-lavahi-client -lavahi-common
Geithner, Thomas's avatar
Geithner, Thomas committed
6

Geithner, Thomas's avatar
Geithner, Thomas committed
7
#USB2LIN
8
override CXXFLAGS+=-I$(USB2LIN_PATH)
Geithner, Thomas's avatar
Geithner, Thomas committed
9
10
LDLIBS+=-lusb-1.0 

11
#COAP
Geithner, Thomas's avatar
Geithner, Thomas committed
12
#override CXXFLAGS+=-I$(COAP_PATH) -L/usr/local/lib
13
14
LDLIBS+=-lcoap-1

Geithner, Thomas's avatar
Geithner, Thomas committed
15
16
17
18
OBJS=\
	desk-controller.o \
	desk-frontend.o \
	cmd-frontend.o \
19
20
	coap-frontend.o \
	avahi-service.o \
Geithner, Thomas's avatar
Geithner, Thomas committed
21
22
	
TARGETS=\
23
24
	desk-main \
	avahi-test \
Geithner, Thomas's avatar
Geithner, Thomas committed
25
26
27
28
29
30
31
32

all: $(TARGETS)

$(TARGETS): $(OBJS)

.PHONY: clean
clean:
	rm -f $(OBJS) $(TARGETS)