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

Subversion Repositories pavr

[/] [pavr/] [trunk/] [test/] [sieve/] [makefile] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 doru
# Simple Makefile Volker Oth (c) 1999
2
# edited by AVRfreaks.net nov.2001
3
 
4
########### change these lines according to your project ##################
5
 
6
#put the name of the target mcu here (at90s8515, at90s8535, attiny22, atmega603 etc.)
7
    MCU = at90s8515
8
 
9
#put the name of the target file here (without extension)
10
   TRG   = sieve
11
 
12
#put your C sourcefiles here
13
   SRC   = $(TRG).c
14
 
15
#put additional assembler source file here
16
   ASRC    =
17
 
18
#additional libraries and object files to link
19
   LIB   =
20
 
21
#additional includes to compile
22
   INC   =
23
 
24
#assembler flags
25
   ASFLAGS = -mdwarf2-asm -Wa, -gstabs
26
 
27
#compiler flags
28
   CPFLAGS  = -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst) -O1
29
 
30
#linker flags
31
   LDFLAGS = -Wl,-Map=$(TRG).map,--cref
32
 
33
 
34
########### you should not need to change the following line #############
35
#include $(AVR)/avrfreaks/avr_make
36
include c:\programs\avrgcc\avrfreaks\avr_make
37
 
38
###### dependencies, add any dependencies you need here ###################
39
$(TRG).o : $(TRG).c

powered by: WebSVN 2.1.0

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