Blob
1 # diff-portable3 PROG= diff4 SRCS= diff.c diff_atomize_text.c diff_main.c diff_myers.c \5 diff_patience.c diff_output.c7 CFLAGS+= -Wstrict-prototypes -Wunused-variable10 # Compat sources11 VPATH= $(CURDIR)/compat12 SRCS+= getprogname_linux.c recallocarray.c13 CFLAGS+= -I$(CURDIR)/compat/include16 # Shouldn't need to change anything below17 all: $(PROG)19 $(PROG): $(SRCS:.c=.o)21 .c.o:22 $(CC) -c $(CFLAGS) $<24 .PHONY: clean25 clean:26 rm -f $(PROG) *.o