aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 25534540c05fcd85f7428ac4dea4a71edd7e303d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SOURCES = $(wildcard *.c) \
	drivers/serial/pcserialport.c \
	drivers/tcpip/tcpclient.c

OBJECTS = $(SOURCES:%.c=%.o)

CPPFLAGS = -I.
CFLAGS = -Wall -Wextra

libsimplemotionv2.a: $(OBJECTS)
	ar rcs $@ $^

.PHONY: clean
clean:
	rm -f $(OBJECTS)