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