1
0

Makefile 393 B

1234567891011121314151617181920
  1. # the compiler to compile BCC with
  2. CC = gcc
  3. # compiler flags:
  4. # -g adds debugging information to the executable file
  5. # -Wall turns on most, but not all, compiler warnings
  6. CFLAGS =
  7. # the build target executable:
  8. SOURCE = bcc
  9. TARGET = bccALWAYSRECOMPILE
  10. TARGETNAME = bcc
  11. all: $(TARGET)
  12. $(TARGET): $(SOURCE).c
  13. $(CC) -o $(TARGETNAME) $(SOURCE).c $(CFLAGS)
  14. clean:
  15. $(RM) $(TARGETNAME)