X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=tv_i2c_hack;a=blobdiff_plain;f=Makefile;h=05efc87fd5c0c08a97b4dec033140d40abef7924;hp=86277c58569f49c036119332f24b1ab8bf1888fb;hb=HEAD;hpb=3efe37d45bdac5a1255f3f1aa39912f3af31bfb6 diff --git a/Makefile b/Makefile index 86277c5..05efc87 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -src = $(wildcard *.c) +src = $(wildcard src/*.c) obj = $(src:.c=.o) -bin = test +bin = tv_i2c_hack hex = $(bin).hex eep = $(bin).eep @@ -12,7 +12,7 @@ OBJCOPY = avr-objcopy warn = -pedantic -Wall -CFLAGS = -Os $(warn) -mmcu=$(mcu_gcc) -DF_CPU=3686400 +CFLAGS = -Os $(warn) -mmcu=$(mcu_gcc) -DF_CPU=14745600 LDFLAGS = -Wl,-Map,$(bin).map -mmcu=$(mcu_gcc) -lprintf_min .PHONY: all