blob: 15f8bf8d1708be5a8a7d5cae212e2f734da44f19 [file] [log] [blame]
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)