radare2/libr/util/spp.mk
Riccardo Schirone f8cafe4f2f
Update spp to 1.2.0 (#17243)
* Update spp to 1.2.0
* Make sure to use USE_R2=1 when compiling spp
2020-07-09 17:20:06 +08:00

16 lines
337 B
Makefile

SPPPATH=../../shlr/spp/
CFLAGS+=-DHAVE_FORK=$(HAVE_FORK) -DUSE_R2=1
CFLAGS+=-I../../shlr
SPP_OBJS=spp.o
SPPOBJS=$(addprefix ${SPPPATH},${SPP_OBJS})
OBJS+=$(SPPOBJS)
$(SPPPATH)/config.h: $(SPPPATH)/config.def.h
$(MAKE) spp_config
spp_config:
cp -f $(SPPPATH)/config.def.h $(SPPPATH)/config.h
$(MAKE) spp_build
spp_build: $(SPPOBJS)