source: soft/giet_vm/applications/classif/Makefile @ 503

Last change on this file since 503 was 488, checked in by alain, 10 years ago

1) Updating the classif application to introduce a "store" task in each cluster.
2) Updating the convol application to use the new sbt_barrier_init() prototype.

File size: 501 bytes
Line 
1APP_NAME=classif
2
3USE+= stdio.o
4USE+= mwmr_channel.o
5
6USES=$(patsubst %,$(BUILD_PATH)/$(LIB_NAME)/%,$(USE))
7
8OBJS= main.o
9
10all: $(APP_NAME).elf
11
12BIN_NAME_PATH=$(BUILD_PATH)$(APP_NAME).elf
13
14$(APP_NAME).elf: $(OBJS) $(APP_NAME).ld
15        $(LD) -o $(BIN_NAME_PATH) -T $(APP_NAME).ld $(OBJS) $(USES)
16        $(DU) -D $(BIN_NAME_PATH) > $@.txt
17
18%.o: %.c
19        $(CC)  $(INCLUDE) $(CFLAGS) $($*.o_CFLAGS) -c -o  $@ $<
20        $(DU) -D  $@ >  $@.txt
21
22clean:
23        rm -f *.o *.elf *.txt core *~ 2>$(TRASH)
24        rm $(BIN_NAME_PATH) 2>$(TRASH)
Note: See TracBrowser for help on using the repository browser.