OpenCores
URL https://opencores.org/ocsvn/pavr/pavr/trunk

Subversion Repositories pavr

[/] [pavr/] [trunk/] [test/] [sieve/] [makefile] - Rev 6

Compare with Previous | Blame | View Log

# Simple Makefile Volker Oth (c) 1999
# edited by AVRfreaks.net nov.2001

########### change these lines according to your project ##################

#put the name of the target mcu here (at90s8515, at90s8535, attiny22, atmega603 etc.)
    MCU = at90s8515

#put the name of the target file here (without extension)
   TRG   = sieve

#put your C sourcefiles here
   SRC   = $(TRG).c

#put additional assembler source file here
   ASRC    =

#additional libraries and object files to link
   LIB   =

#additional includes to compile
   INC   =

#assembler flags
   ASFLAGS = -mdwarf2-asm -Wa, -gstabs

#compiler flags
   CPFLAGS  = -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst) -O1

#linker flags
   LDFLAGS = -Wl,-Map=$(TRG).map,--cref


########### you should not need to change the following line #############
#include $(AVR)/avrfreaks/avr_make
include c:\programs\avrgcc\avrfreaks\avr_make

###### dependencies, add any dependencies you need here ###################
$(TRG).o : $(TRG).c

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.