Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

26 linhas
542 B

há 9 meses
  1. #
  2. # Makefile that builds btest and other helper programs for the CS:APP data lab
  3. #
  4. CC = gcc
  5. CFLAGS = -O -Wall -m32
  6. LIBS = -lm
  7. all: btest fshow ishow
  8. btest: btest.c bits.c decl.c tests.c btest.h bits.h
  9. $(CC) $(CFLAGS) $(LIBS) -o btest bits.c btest.c decl.c tests.c
  10. fshow: fshow.c
  11. $(CC) $(CFLAGS) -o fshow fshow.c
  12. ishow: ishow.c
  13. $(CC) $(CFLAGS) -o ishow ishow.c
  14. # Forces a recompile. Used by the driver program.
  15. btestexplicit:
  16. $(CC) $(CFLAGS) $(LIBS) -o btest bits.c btest.c decl.c tests.c
  17. clean:
  18. rm -f *.o btest fshow ishow *~