mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 13:19:54 +00:00
64bf791bfc
Co-authored-by: pancake <pancake@nopcode.org>
15 lines
443 B
Makefile
15 lines
443 B
Makefile
.PHONY: mpc mpc-clean clean-mpc mpc-sync sync-mpc
|
|
mpc:
|
|
$(MAKE) -C mpc all
|
|
|
|
mpc-clean clean-mpc:
|
|
$(MAKE) -C mpc clean
|
|
|
|
mpc-sync sync-mpc:
|
|
wget -O mpc/mpc.c.dos https://raw.githubusercontent.com/orangeduck/mpc/master/mpc.c
|
|
wget -O mpc/mpc.h.dos https://raw.githubusercontent.com/orangeduck/mpc/master/mpc.h
|
|
sed "s/$$(printf '\r')\$$//" < mpc/mpc.c.dos > mpc/mpc.c
|
|
sed "s/$$(printf '\r')\$$//" < mpc/mpc.h.dos > mpc/mpc.h
|
|
rm -f mpc/*.dos
|
|
|