diff options
| author | Nakidai <nakidai@disroot.org> | 2025-05-20 00:33:49 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-05-20 00:33:49 +0300 |
| commit | eba7daeebc79080ede43d440ee075b0ef7ca96eb (patch) | |
| tree | 283b9e10652648e8fa5ba5af982c7dcd48f48053 /Makefile | |
| download | smalltcp-eba7daeebc79080ede43d440ee075b0ef7ca96eb.tar.gz smalltcp-eba7daeebc79080ede43d440ee075b0ef7ca96eb.zip | |
Add code
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5fd5245 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +RM ?= rm -f +PREFIX ?= /usr/local/ +BINDIR ?= ${PREFIX}/bin + +CFLAGS += -ansi + +.PHONY: all +all: buc bus + +install: all + install -d ${BINDIR} + install -m755 buc bus ${BINDIR} + +uninstall: + ${RM} ${BINDIR}/buc ${BINDIR}/bus + +.PHONY: clean +clean: + ${RM} buc bus |