From ad7ce0903602a48f3e47b85a9a6e10087438068c Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Fri, 28 Mar 2008 11:37:17 -0600 Subject: [PATCH] update makefiles --- Makefile | 12 ------------ cv_c/Makefile | 4 ++++ gcc_c/Makefile | 2 +- gcc_cpp/Makefile | 2 +- gcc_cpp_obj/Makefile | 2 +- iar_c/Makefile | 2 +- iar_cpp/Makefile | 2 +- iar_cpp_obj/Makefile | 2 +- icc_c/Makefile | 2 +- serial_lcd.c | 10 +++++----- 10 files changed, 16 insertions(+), 24 deletions(-) diff --git a/Makefile b/Makefile index 6ccef0b..4a6b1d3 100644 --- a/Makefile +++ b/Makefile @@ -23,18 +23,6 @@ build: tester-build $(MAKE) -C icc_c $(MAKE) -C cv_c -dist: tester-build build - @chmod -x *.c *.h *.cpp README ChangeLog LICENSE - @find $(GCCDIR) -type f -exec chmod -x {} \; - @find $(IARDIR) -type f -exec chmod -x {} \; - @find $(ICCDIR) -type f -exec chmod -x {} \; - @zip serial_lcd-$(date).zip README serial_lcd.c serial_lcd.cpp serial_lcd_obj.cpp serial_lcd.h LICENSE ChangeLog \ - $(GCCDIR)/Makefile $(GCCDIR)/serial_lcd.map $(GCCDIR)/serial_lcd_cpp.map $(GCCDIR)/serial_lcd.lss \ - $(GCCDIR)/serial_lcd_cpp.lss $(GCCDIR)/serial_lcd.hex $(GCCDIR)/serial_lcd_cpp.hex \ - $(GCCDIR)/serial_lcd_obj.lss $(GCCDIR)/serial_lcd_obj.map $(GCCDIR)/serial_lcd_obj.map \ - $(IARDIR)/*.lst $(IARDIR)/*.map $(IARDIR)/*.hex $(ICCDIR)/*.mp $(ICCDIR)/*.lst $(ICCDIR)/*.hex \ - $(tester).c $(tester).exe - .PHONY: clean clean: @rm -rf tester-build diff --git a/cv_c/Makefile b/cv_c/Makefile index e472620..3eb0ff5 100644 --- a/cv_c/Makefile +++ b/cv_c/Makefile @@ -1,3 +1,7 @@ +############################################################################### +# Makefile for the serial_lcd C version for Codevision +# Note: CodeVision only allows building from its IDE + PROJECT := serial_lcd all: build diff --git a/gcc_c/Makefile b/gcc_c/Makefile index 47eb208..e2d9ea1 100644 --- a/gcc_c/Makefile +++ b/gcc_c/Makefile @@ -1,5 +1,5 @@ ############################################################################### -# Makefile for the serial_lcd C & CPP versions +# Makefile for the serial_lcd C version for GCC ## General Flags PROJECT = serial_lcd diff --git a/gcc_cpp/Makefile b/gcc_cpp/Makefile index 1e142cf..89acb5a 100644 --- a/gcc_cpp/Makefile +++ b/gcc_cpp/Makefile @@ -1,5 +1,5 @@ ############################################################################### -# Makefile for the serial_lcd C & CPP versions +# Makefile for the serial_lcd CPP version for GCC ## General Flags PROJECT = serial_lcd_cpp diff --git a/gcc_cpp_obj/Makefile b/gcc_cpp_obj/Makefile index 9f5811c..5ac1c75 100644 --- a/gcc_cpp_obj/Makefile +++ b/gcc_cpp_obj/Makefile @@ -1,5 +1,5 @@ ############################################################################### -# Makefile for the serial_lcd C & CPP versions +# Makefile for the serial_lcd CPP Object version for GCC ## General Flags PROJECT = serial_lcd_obj diff --git a/iar_c/Makefile b/iar_c/Makefile index c0dfcb5..949ac7c 100644 --- a/iar_c/Makefile +++ b/iar_c/Makefile @@ -1,5 +1,5 @@ ############################################################################### -# Makefile for the serial_lcd C & CPP versions +# Makefile for the serial_lcd C version for IAR ## General Flags PROJECT = serial_lcd diff --git a/iar_cpp/Makefile b/iar_cpp/Makefile index 5c63854..a0e30b3 100644 --- a/iar_cpp/Makefile +++ b/iar_cpp/Makefile @@ -1,5 +1,5 @@ ############################################################################### -# Makefile for the serial_lcd C & CPP versions +# Makefile for the serial_lcd CPP version for IAR ## General Flags PROJECT = serial_lcd_cpp diff --git a/iar_cpp_obj/Makefile b/iar_cpp_obj/Makefile index c9ddf60..da561c7 100644 --- a/iar_cpp_obj/Makefile +++ b/iar_cpp_obj/Makefile @@ -1,5 +1,5 @@ ############################################################################### -# Makefile for the serial_lcd C & CPP versions +# Makefile for the serial_lcd CPP Object version for IAR ## General Flags PROJECT = serial_lcd_obj diff --git a/icc_c/Makefile b/icc_c/Makefile index cbdf209..e039509 100644 --- a/icc_c/Makefile +++ b/icc_c/Makefile @@ -1,5 +1,5 @@ ############################################################################### -# Makefile for the serial_lcd C & CPP versions +# Makefile for the serial_lcd C version for ICC ## General Flags PROJECT = serial_lcd diff --git a/serial_lcd.c b/serial_lcd.c index 899e945..dc375fd 100644 --- a/serial_lcd.c +++ b/serial_lcd.c @@ -25,11 +25,11 @@ #include "serial_lcd.h" #if defined(__GNUC__) -FUSES = { - .low = SUT1, - .high = (unsigned char) (DWEN & WDTON & RSTDISBL & BODLEVEL1 & BODLEVEL2), - .extended = EFUSE_DEFAULT, -}; +//FUSES = { +// .low = SUT1, + // .high = (unsigned char) (DWEN & WDTON & RSTDISBL & BODLEVEL1 & BODLEVEL2), + // .extended = EFUSE_DEFAULT, + //}; #endif // Number of PWM brightness levels supported -- 2.34.1