This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# ------------------ | |
# NOTE: | |
# you need to have certain binary files in your path | |
# see below, most of them are in your quartus/bin and nios2eds/bin and nios2eds/sdk2/bin | |
# for the compiler itself, it resides in nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin/ | |
# for me my path currently contains | |
# +- /opt/intelFPGA/21.1/nios2eds/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General purpose Makefile for C projects | |
# options | |
CC = gcc | |
DEBUGGER = gdb | |
LINKER = $(CC) | |
CFLAGS = -std=c99 -O0 -pthread | |
LFLAGS = -ldl -lm -lpthread | |
# directories |