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 agoThose makefiles aren't a speciality of linux. they are very common (BCB, VC++,GCC)
How does your makefile look ? Maybe take a look at the makefile of the hello program example and try to build it (look a bit closer in the guide): # # configurable options# - set DEBUG = 1 to turn on debugging support# DEBUG = 1 PROJ_NAME = hello 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