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

Subversion Repositories pavr

[/] [pavr/] [trunk/] [test/] [waves/] [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
    MCU = atmega103
9
 
10
#put the name of the target file here (without extension)
11
   TRG   = waves
12
 
13
#put your C sourcefiles here
14
   SRC   = $(TRG).c
15
 
16
#put additional assembler source file here
17
   ASRC    =
18
 
19
#additional libraries and object files to link
20
   LIB   =
21
 
22
#additional includes to compile
23
   INC   =
24
 
25
#assembler flags
26
   ASFLAGS = -mdwarf2-asm -Wa, -gstabs
27
 
28
#compiler flags
29
   CPFLAGS  = -g  -Os -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst) -lm
30
 
31
#linker flags
32
   LDFLAGS = -Wl,-Map=$(TRG).map,--cref -lm
33
 
34
 
35
########### you should not need to change the following line #############
36
#include $(AVR)/avrfreaks/avr_make
37
include c:\programs\avrgcc\avrfreaks\avr_make
38
 
39
###### dependencies, add any dependencies you need here ###################
40
$(TRG).o : $(TRG).c

powered by: WebSVN 2.1.0

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