mirror of
https://github.com/wfjm/w11.git
synced 2026-01-16 16:48:03 +00:00
- Add sysmon/xadc support (for nexys4,basys3,arty designs) - Add Vivado simulator support (DPI not yet working)
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
# $Id: Makefile 733 2016-02-20 12:24:13Z mueller $
|
|
#
|
|
|
|
#
|
|
# Revision History:
|
|
# Date Rev Version Comment
|
|
# 2014-11-07 601 1.0 Initial version
|
|
#
|
|
# Compile and Link search paths
|
|
#
|
|
include ../checkpath_cpp.mk
|
|
#
|
|
INCLFLAGS = -I${TCLINC}
|
|
LDLIBS += -L${TCLLIB} -l${TCLLIBNAME}
|
|
#
|
|
BINPATH = ${RETROBASE}/tools/bin
|
|
#
|
|
# Object files to be included
|
|
#
|
|
OBJ_all = tclshcpp.o
|
|
#
|
|
DEP_all = $(OBJ_all:.o=.dep)
|
|
#
|
|
# link target
|
|
#
|
|
$(BINPATH)/tclshcpp : $(OBJ_all)
|
|
$(CXX) -o $(BINPATH)/tclshcpp $(OBJ_all) $(LDLIBS)
|
|
|
|
#- generic part ----------------------------------------------------------------
|
|
#
|
|
include ${RETROBASE}/tools/make/generic_cpp.mk
|
|
include ${RETROBASE}/tools/make/generic_dep.mk
|
|
include ${RETROBASE}/tools/make/dontincdep.mk
|
|
#
|
|
# The magic auto-dependency include
|
|
#
|
|
ifndef DONTINCDEP
|
|
include $(DEP_all)
|
|
endif
|
|
#
|
|
# cleanup phonies:
|
|
#
|
|
.PHONY : clean cleandep distclean
|
|
clean :
|
|
@ rm -f $(OBJ_all)
|
|
@ echo "Object files removed"
|
|
#
|
|
cleandep :
|
|
@ rm -f $(DEP_all)
|
|
@ echo "Dependency files removed"
|
|
#
|
|
distclean :
|
|
@ rm -f $(BINPATH)/tclshcpp
|
|
@ echo "Executable files removed"
|