diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-03-25 11:47:59 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-03-25 11:47:59 +0100 |
commit | dc6c6c49bf334cc2aaa6a948ec815a07626b7a70 (patch) | |
tree | dd5e0c73cd408e9879747a3ce32e1d9db70b33f0 /Demo/PIC18_SDCC/Makefile | |
parent | bbdc1ffe544681c076dafc23f0956d4ca84a97ee (diff) | |
download | freertos-dc6c6c49bf334cc2aaa6a948ec815a07626b7a70.tar.gz freertos-dc6c6c49bf334cc2aaa6a948ec815a07626b7a70.tar.bz2 freertos-dc6c6c49bf334cc2aaa6a948ec815a07626b7a70.tar.xz |
Start begining more FreeRTOS coding style compatible
Diffstat (limited to 'Demo/PIC18_SDCC/Makefile')
-rw-r--r-- | Demo/PIC18_SDCC/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Demo/PIC18_SDCC/Makefile b/Demo/PIC18_SDCC/Makefile index 488c64c3..6abddcc2 100644 --- a/Demo/PIC18_SDCC/Makefile +++ b/Demo/PIC18_SDCC/Makefile @@ -14,19 +14,20 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. -################################################################################### +######################################################################################### # # \file Makefile # \brief Makefile of root project # \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> # \date February 2009 -################################################################################### +######################################################################################### -CC=/usr/src/walsimou/staging_dir/bin/sdcc -AS=/usr/src/walsimou/staging_dir/bin/gpasm -LD=/usr/src/walsimou/staging_dir/bin/gplink +CC=sdcc +AS=gpasm +LD=gplink DEVICE=18f452 ARCH=pic16 +PIC16_LIB_PATH=/usr/src/walsimou/staging_dir/share/sdcc/lib/pic16/ # Setup paths to source code SOURCE_PATH=../../Source @@ -37,7 +38,7 @@ SDCC_CFLAGS= -m$(ARCH) -p$(DEVICE) -I. -I$(SOURCE_PATH)/include -I$(PORT_PATH) -I$(SOURCE_PATH) -I$(DEMO_PATH) -DSDCC_PIC18 --debug --mplab-comp --pstack-model=large GPASM_CFLAGS= -g -I$(SOURCE_PATH) -I$(PORT_PATH) -LDFLAGS= -s $(DEVICE).lkr --map -I/usr/src/walsimou/staging_dir/share/sdcc/lib/pic16/ +LDFLAGS= -s $(DEVICE).lkr --map -I$(PIC16_LIB_PATH) LIBS= libdev$(DEVICE).lib crt0iz.o libc18f.lib libsdcc.lib libm18f.lib # @@ -65,6 +66,6 @@ $(SOURCE_OBJ) $(PORT_OBJ): %.o: %.asm $(CC) -S $< -o $@ $(SDCC_CFLAGS) clean: - rm -rf *.o *.asm *.cod *.lst *.hex *.adb *.lib *.calltree *.p *.map *.cof + rm -rf *.o *.asm *.cod *.lst *.hex *.adb *.lib *.calltree *.p *.map *.cof *.coff cleanAll: clean |