You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 306B

12345678910111213141516171819
  1. CFLAGS = -Wall -Wextra -Werror -pedantic-errors -std=c99 -g
  2. CC = gcc
  3. LDLIBS = -lm
  4. .PHONY: all clean clean-all
  5. all: main
  6. main: main.o benchmark-data.o
  7. benchmark-data.o: benchmark-data.c benchmark-data.h
  8. main.o: main.c benchmark-data.h
  9. clean:
  10. -@rm main.o benchmark-data.o
  11. clean-all: clean
  12. -@rm main