source: trunk/tools/alcons/Makefile @ 247

Last change on this file since 247 was 231, checked in by max@…, 7 years ago

Add a serial port multiplexer, usable to communicate with the
ALMOS-MKH kernel over a serial port.

File size: 297 bytes
RevLine 
[231]1CC=gcc
2CFLAGS=-W -Wall -g
3LDFLAGS=
4EXEC=alcons
5FIFO_RX=/tmp/fifo_rx
6FIFO_TX=/tmp/fifo_tx
7TEST=test_tx.txt test_rx.txt
8
9all: $(EXEC)
10
11alcons: alcons.o threads.o
12        $(CC) -o $@ $^ $(LDFLAGS) -lrt -pthread
13
14%.o: %.c
15        $(CC) -o $@ -c $< $(CFLAGS)
16
17clean:
18        rm -f *.o alcons $(FIFO_RX) $(FIFO_TX) $(TEST)
19
Note: See TracBrowser for help on using the repository browser.