Last change
on this file was
708,
checked in by alain, 9 years ago
|
Adapt the following application to the POSIX threads API
- convol
- classif
- raycast
- coproc
- display
- gameoflife
- transpose
- shell
|
File size:
520 bytes
|
Line | |
---|
1 | |
---|
2 | CC = mipsel-unknown-elf-gcc |
---|
3 | AS = mipsel-unknown-elf-as |
---|
4 | LD = mipsel-unknown-elf-ld |
---|
5 | DU = mipsel-unknown-elf-objdump |
---|
6 | AR = mipsel-unknown-elf-ar |
---|
7 | |
---|
8 | APP_NAME = convol |
---|
9 | |
---|
10 | OBJS= convol.o |
---|
11 | |
---|
12 | LIBS= -L../../build/libs -luser |
---|
13 | |
---|
14 | INCLUDES = -I../../giet_libs -I. -I../.. -I../../giet_xml |
---|
15 | |
---|
16 | LIB_DEPS = ../../build/libs/libuser.a |
---|
17 | |
---|
18 | appli.elf: $(OBJS) $(APP_NAME).ld $(LIBS_DEPS) |
---|
19 | $(LD) -o $@ -T $(APP_NAME).ld $(OBJS) $(LIBS) |
---|
20 | $(DU) -D $@ > $@.txt |
---|
21 | |
---|
22 | %.o: %.c |
---|
23 | $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< |
---|
24 | |
---|
25 | clean: |
---|
26 | rm -f *.o *.elf *.txt core *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.