[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] AVR-GCC and other GCCs with Visual Studio
From: |
Ron |
Subject: |
RE: [avr-gcc-list] AVR-GCC and other GCCs with Visual Studio |
Date: |
Tue, 26 Jul 2005 19:27:42 +1000 |
Just to round this off - the attached gif shows how the VS project is
set up to call a batch file called DoMake.bat for the two cases of 1) a
make for just the changed files, and 2) a make for all files (sorry
about the size). The batch file is:
if "%1"=="" goto skip
make clean
:skip
make
make extcoff
The changes to the makefile are minor:
# Compile: create object files from C source files.
%.o : %.c
@echo
@echo $(MSG_COMPILING) $<
@echo '@echo off' > CheckErrors.bat
@echo '$(CC) -c $(ALL_CFLAGS) $< -o $@ 2> errors.txt' >>
CheckErrors.bat
@echo 'sed "s/c:\([0-9]*\)/c(\1)/" errors.txt' >>
CheckErrors.bat
CheckErrors.bat
Regards
Ron
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> On Behalf Of d x
> Sent: Tuesday, 26 July 2005 4:49 PM
> To: address@hidden; address@hidden
> Subject: RE: [avr-gcc-list] AVR-GCC and other GCCs with Visual Studio
>
>
> It's work! Many Thanks!
VisualStudio.gif
Description: GIF image