Subversion Repositories svnkaklik

Rev

Rev 409 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 409 Rev 410
1
TARGET=hello.elf
1
TARGET=hello.elf
2
OBJECTS=hello.o
2
OBJECTS=hello.o
3
CC=avr32-linux-gcc
3
CC=avr32-linux-gcc
4
CFLAGS=-Wall -g # warnings, debugging symbols
4
CFLAGS=-Wall -g # warnings, debugging symbols
5
LDFLAGS=
5
LDFLAGS=
6
LIBS=
6
LIBS=
7
 
7
 
8
.PHONY: all
8
.PHONY: all
9
all: $(TARGET) 
9
all: $(TARGET) 
10
 
10
 
11
$(TARGET): $(OBJECTS)
11
$(TARGET): $(OBJECTS)
12
	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 
12
	$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 
13
 
13
 
14
.PHONY: clean
14
.PHONY: clean
15
clean:
15
clean:
16
	-$(RM) $(TARGET) $(OBJECTS) 
16
	-$(RM) $(TARGET) $(OBJECTS) 
17
 
17