This is an old revision of the document!


The standard ACT Makefile structure

The following is a simple Makefile that uses the ACT standard makefile to create an executable called example.

BINARY=example.$(EXT)

TARGETS=$(BINARY)

OBJS=main.o 
SRCS=$(OBJS:.o=.cc)

include $(ACT_HOME)/scripts/Makefile.std

$(BINARY): $(LIB) $(OBJS) $(ACTPASSDEPEND)
        $(CXX) $(CFLAGS) $(OBJS) -o $(BINARY) $(LIBACTPASS)

-include Makefile.deps