aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2016-10-18 22:36:12 +0200
committerjaseg <code@jaseg.net>2016-10-18 22:36:12 +0200
commitf090d7a2685966c7566c24307f89e7674164ec2a (patch)
treeed492096bf8552d4dc05ff8b98e7cf8d5e8f2e97
parentb2bcc1125677d59918d91377669db377d12fa0f6 (diff)
downloadcccb-klingel-f090d7a2685966c7566c24307f89e7674164ec2a.tar.gz
cccb-klingel-f090d7a2685966c7566c24307f89e7674164ec2a.tar.bz2
cccb-klingel-f090d7a2685966c7566c24307f89e7674164ec2a.zip
Fix Makefile for old gccs
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6bcec57..48080bf 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
F_CPU = 16000000
DEVICE = atmega168
-CFLAGS = -g2 -mmcu=$(DEVICE) -DF_CPU=$(F_CPU)
+CFLAGS = -g2 -mmcu=$(DEVICE) -DF_CPU=$(F_CPU) -std=c99
CFLAGS+= -Os -ffunction-sections -fdata-sections -fpack-struct -fno-move-loop-invariants -fno-tree-scev-cprop -fno-inline-small-functions
CFLAGS+= -Wall -Wno-pointer-to-int-cast
#CFLAGS+= -Wa,-ahls=$<.lst