gmake is there: makedepend looks that is not there
$ which gmake
$ /usr/bin/gmake
In my Makefile I am refering to depend:
here is the complete Makefile
It looks that gmake canot find makedepend.
I don't know where to get it or which packet.
------------------------------------
SYSTEMC =/usr/local/systemc-2.2
CXX = g++
INCL_PATH = -I$(SYSTEMC)/include
CXXFLAGS = -g $(INCL_PATH) -Wno-deprecated
## LIBS = -L$(SYSTEMC)/lib -linux -lsystemc -lm
LIBS = -L$(SYSTEMC)/lib -linux -lsystemc
H_FILES = \
simple_bus.h \
simple_bus_arbiter.h \
simple_bus_arbiter_if.h \
simple_bus_blocking_if.h \
simple_bus_direct_if.h \
simple_bus_fast_mem.h \
simple_bus_master_blocking.h \
simple_bus_master_direct.h \
simple_bus_master_non_blocking.h \
simple_bus_non_blocking_if.h \
simple_bus_request.h \
simple_bus_slave_if.h \
simple_bus_slow_mem.h \
simple_bus_test.h \
simple_bus_types.h
CXX_FILES = \
simple_bus.cpp \
simple_bus_arbiter.cpp \
simple_bus_main.cpp \
simple_bus_master_blocking.cpp \
simple_bus_master_direct.cpp \
simple_bus_master_non_blocking.cpp \
simple_bus_types.cpp \
simple_bus_tools.cpp
LIB_OBJECTS := $(addsuffix .o, $(basename $(CXX_FILES)))
###############################################################################################
###
help:
@echo "######################"
@echo "# compil : Compilation"
@echo "# clean : Clean"
@echo "######################"
############################
## COMPILATION
############################
compil: tb
$(LIB_OBJECTS): $(CXX_FILES) depend
$(CXX) $(CXXFLAGS) -c $< -o $@
tb: $(LIB_OBJECTS)
$(CXX) -o tb $(LIB_OBJECTS) $(LIBS)
############################
## --> Clean
############################
clean:
rm -rf tb
rm -rf *.o
.PHONY: compil clean
############################
## EMULATION
############################
depend:
makedepend $(CXX_FILES)
# DO NOT DELETE THIS LINE -- make depend depends on it.
|