8f122e0091
Also add the tool which was used to generate the map on wiki. Change-Id: I54f3474028b5fa75348564437ec1b46ba20f071b
23 lines
294 B
Makefile
23 lines
294 B
Makefile
DEFINES=
|
|
CC=gcc
|
|
LD=gcc
|
|
CFLAGS=-O3 -g -std=c99 -W -Wall $(DEFINES)
|
|
LDFLAGS=
|
|
BINS=io_pins wiki_gen
|
|
|
|
all: $(BINS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
io_pins: io_pins.o
|
|
$(LD) -o $@ $^ $(LDFLAGS)
|
|
|
|
wiki_gen: wiki_gen.o
|
|
$(LD) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -fr *.o
|
|
|
|
veryclean:
|
|
rm -rf $(BINS)
|