+ Added Makefile configuration file for all projects.\n*Updated Makefile for project

This commit is contained in:
XaviDCR92 2017-08-26 11:15:45 +02:00
parent 6628e7de58
commit 35937cb697
2 changed files with 21 additions and 0 deletions

7
.geanyprj Normal file
View File

@ -0,0 +1,7 @@
[project]
name=PocketEmpires
description=
base_path=./
run_cmd=
regenerate=true
type=C/C++

14
Makefile.cfg Normal file
View File

@ -0,0 +1,14 @@
CC=avr-gcc
CXX=avr-g++
LINKER=$(CXX)
MCU=atmega328p
CPU_SPEED=16000000UL
ARDUINO_VERSION=150
AVR_TOOLCHAIN_PATH=/usr/local/avr/
PATH := $(PATH):$(AVR_TOOLCHAIN_PATH)/bin/
DEFINE = -DARDUINO=$(ARDUINO_VERSION) -mmcu=$(MCU) -DF_CPU=$(CPU_SPEED)
CC_FLAGS=-Wall -Os -c -ffunction-sections -fdata-sections