CXX=g++ C=gcc CFLAGS=-O3 -std=c++11 OBJ = pixmap_io.o one_round_new.o %.o: %.c $(C) -c -o $@ $< $(CFLAGS) %.o: %.cpp $(CXX) -c -o $@ $< $(CFLAGS) one_round_new: $(OBJ) $(CXX) -o $@ $^ $(CFLAGS) clean: rm -rf $(OBJ) one_round_new