21 lines
250 B
Makefile
21 lines
250 B
Makefile
CFLAGS=-static
|
|
PREFIX?=/usr/local
|
|
bin=plictool csrtool memtool unalign
|
|
|
|
all: $(bin)
|
|
|
|
clean:
|
|
rm -f $(bin)
|
|
|
|
install:
|
|
mkdir -p $(PREFIX)/bin
|
|
cp -a $(bin) $(PREFIX)/bin
|
|
|
|
plictool: plictool.c
|
|
|
|
csrtool: csrtool.c
|
|
|
|
memtool: memtool.c
|
|
|
|
unalign: unalign.c
|