mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
753 B
45 lines
753 B
# Makefile for NeuG |
|
|
|
# Define project name here |
|
PROJECT = sample-msc |
|
|
|
CHOPSTX = .. |
|
FRAUCHEKY = ../../fraucheky |
|
LDSCRIPT= |
|
|
|
CSRC = main.c |
|
CHIP=gnu-linux |
|
USE_SYS = yes |
|
USE_USB = yes |
|
EMULATION=yes |
|
# USE_ADC = yes |
|
|
|
include $(FRAUCHEKY)/src.mk |
|
|
|
################################### |
|
CROSS = |
|
CC = $(CROSS)gcc |
|
LD = $(CROSS)gcc |
|
OBJCOPY = $(CROSS)objcopy |
|
|
|
MCU = none |
|
CWARN = -Wall -Wextra -Wstrict-prototypes |
|
DEFS = -DGNU_LINUX_EMULATION |
|
OPT = -O3 -g |
|
LIBS = -lpthread |
|
|
|
BFDNAME_OBJ=elf64-x86-64 |
|
BFDARCH=i386:x86-64 |
|
|
|
####################### |
|
include $(CHOPSTX)/rules.mk |
|
|
|
include $(FRAUCHEKY)/build.mk |
|
################################### |
|
|
|
board.h: |
|
@echo Please run configure to have a symbolic link \'board.h\' |
|
@exit 1 |
|
|
|
distclean:: clean |
|
-rm -f config.h
|
|
|