CC := gcc CFLAGS := -I. \ -std=gnu90 \ -g \ -pedantic \ -pedantic-errors \ -Wall \ -Wextra \ -Wconversion \ -Wstrict-prototypes \ -Wshadow \ -Wundef \ -Wdouble-promotion \ -Wno-variadic-macros objs := gt.o graph/adj.o graph/dfs.o graph/pr.o bin := gt all : $(bin) clean : rm -f $(bin) $(objs) .PHONY : all clean $(bin) : $(objs) $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@