mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-26 03:13:31 +04:00
7220737241
Use my_err instead of perror. Also fix some printf format type mismatches.
16 lines
274 B
Makefile
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)
|
|
|