CPPFLAGS=-O3 -Wall -Wno-sign-compare

progs=drive gengraph genreqs

all: $(progs)

$(progs): %: %.o
	g++ $(CPPFLAGS) -o $@ $^

%.o: %.cpp
	g++ $(CPPFLAGS) -c $<

.PHONY: clean progs all

clean:
	rm -f *.o drive