mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
17 lines
405 B
Makefile
17 lines
405 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:
|
|
cmp $(SPPPATH)/config.def.h $(SPPPATH)/config.h 2> /dev/null || \
|
|
cp -f $(SPPPATH)/config.def.h $(SPPPATH)/config.h
|
|
$(MAKE) spp_build
|
|
|
|
spp_build: $(SPPOBJS)
|