chiark / gitweb /
initial hostside thingum
[trains.git] / hostside / Makefile
1 #
2
3 TARGETS=        hostside
4 CFLAGS=         -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes \
5                 -Wpointer-arith -Wwrite-strings $(OPTIMISE)
6 OPTIMISE=       -O2
7
8 all:            $(TARGETS)
9
10 hostside:       serialio.o nmra.o main.o
11                 $(CC) $(CFLAGS) -o $@ $+
12
13 %.c:            hostside.h
14
15 clean:
16                 rm -f *.o $(TARGETS)