k210-sdk-stuff/linux/Makefile
Wladimir J. van der Laan 7220737241 linux: Use my_err consistently in esptun
Use my_err instead of perror.

Also fix some printf format type mismatches.
2020-02-23 15:00:22 +00:00

16 lines
274 B
Makefile

CROSS ?= /opt/riscv64-uclibc/bin/riscv64-buildroot-linux-uclibc-
CFLAGS = -fPIC -Wl,-elf2flt=-r -Wall -Os -g
BINARIES = term esptun
all: $(BINARIES)
clean:
rm -f $(BINARIES)
term: term.c
${CROSS}gcc $< -o $@ $(CFLAGS)
esptun: esptun.c
${CROSS}gcc $< -o $@ $(CFLAGS)