1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
CC = gcc CFLAGS = WFLAGS = -Wall -Werror padjffs2-objs = padjffs2.o all: padjffs2 %.o: %.c $(CC) $(CFLAGS) $(WFLAGS) -c -o $@ $< padjffs2: $(padjffs2-objs) $(CC) $(LDFLAGS) -o $@ $(padjffs2-objs) clean: rm -f padjffs2 *.o