9b2fab1ca9
Change-Id: I69b8b81d357553c979682d42097eba864c951512
20 lines
245 B
Makefile
20 lines
245 B
Makefile
DEFINES=
|
|
CC=gcc
|
|
LD=gcc
|
|
CFLAGS=-g -std=c99 -Wall $(DEFINES)
|
|
LDFLAGS=
|
|
BINS=emmctool
|
|
|
|
all: $(BINS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
emmctool: emmctool.o misc.o nvp.o
|
|
$(LD) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -fr *.o
|
|
|
|
veryclean:
|
|
rm -rf $(BINS)
|