openwrt/tools/padjffs2/src/Makefile

16 lines
218 B
Makefile
Raw Normal View History

CC = gcc
CFLAGS =
WFLAGS = -Wall -Werror
padjffs2-objs = padjffs2.o
all: padjffs2
%.o: %.c
$(CC) $(CFLAGS) $(WFLAGS) -c -o $@ $<
padjffs2: $(padjffs2-objs)
$(CC) -o $@ $(padjffs2-objs)
clean:
rm -f padjffs2 *.o