Serial-over-network and serial-serial redirector+sniffer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
507 B

# Makefile
all: sobredird serialstats passthru
sobredird: redirector.o common.o
$(CC) -o $@ $^
passthru: passthru.o common.o
$(CC) -o $@ $^
serialstats: serialstats.o
$(CC) -o $@ $^
%.o: %.c
$(CC) -c -Wall $(CFLAGS) $(CPPFLAGS) $< -o $@
mkdir -p $(PREFIX)/bin
cp -f sobredird $(PREFIX)/bin
cp -f serialstats $(PREFIX)/bin
cp -f passthru $(PREFIX)/bin
distclean: clean
rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ sobredird serialstats passthru