https://hal.archives-ouvertes.fr/hal-03445821
Raw File
Makefile
include ../Makefile.config

SRCC=
SRCC+=opcode.c
SRCC+=arch.c ddg.c
SRCC+=dag.c
	ifeq	($(ENABLE_XML_PARSER),yes)
SRCC+=arch_xml.c ddg_xml.c
	endif

SRCH=stringutil.h xmlutil.h
SRCH+=opcode.h
SRCH+=arch.h ddg.h
SRCH+=dag.h
	ifeq	($(ENABLE_XML_PARSER),yes)
SRCH+=arch_xml.h ddg_xml.h
	endif
SRCH+=boxed.h util.h

DOCH=main.h 

OBJS=$(SRCC:.c=.o) 

DISTFILES=Makefile $(SRCC) $(SRCH) $(DOCH)
	ifneq	($(ENABLE_XML_PARSER),yes)
DISTFILES+=arch_xml.c ddg_xml.c arch_xml.h ddg_xml.h
	endif

INSTALLH=opcode.h
INSTALLH+=arch.h ddg.h
INSTALLH+=dag.h
	ifeq	($(ENABLE_XML_PARSER),yes)
INSTALLH+= arch_xml.h ddg_xml.h
	endif

INSTALLLIB=

all: .depend $(OBJS)

%.o: %.c
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<

clean:
	rm -f *~ $(OBJS) .depend

.depend: $(SRCC)
	$(CC) -MM $(SRCC) > .depend

dist-files:
	@echo $(DISTFILES)

install-h:
	@echo $(INSTALLH)

install-lib:
	@echo $(INSTALLLIB)

-include .depend


back to top