Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHow solve this problem?
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif make -k all make: *** No rule to make target `all'. When i follow the guide create an application, but makef...
Altera_Forum
Honored Contributor
20 years agohttp://
--- Quote Start --- originally posted by singerpop@Oct 15 2005, 08:31 AM http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/sad.gifi'm sorry to say that it fails again.
this is my makefile.
# # configurable options# - set debug = 1 to turn on debugging support#
debug = 1
proj_name = debug
install_dir =
progs := $(proj_name).exe
cflags +=
# # you should not need to modify anything beyond this point#
topdir = ..
include $(topdir)/rules.mak
ifeq '$(debug)' '1'
progs += $(progs:.exe=.gdb)
endif
all: $(progs)
.phony: clean
clean:
-rm -f *.[oad] *.elf *.gdb *.bin *.exe
.phony: install
install: all
ifeq "$(install_dir)" ""
$(error no installation directory specified)
endif
mkdir -p $(install_dir)/bin
install -v $(filter %.exe, $(progs)) $(install_dir)/bin
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10382)
--- quote end ---
--- Quote End --- additional,the outline of niosii ide shows that
"mkdir -p $(install_dir)/bin" and
"install -v $(filter %.exe, $(progs)) $(install_dir)/bin" are wrong.