Just testing c and makefiles
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

18 рядки
375 B

  1. # the compiler: gcc for C program, define as g++ for C++
  2. CC = tcc
  3. # compiler flags:
  4. # -g adds debugging information to the executable file
  5. # -Wall turns on most, but not all, compiler warnings
  6. CFLAGS = -g -Wall
  7. # the build target executable:
  8. TARGET = testcprod
  9. all: $(TARGET)
  10. $(TARGET): $(TARGET).c
  11. $(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c
  12. clean:
  13. $(RM) $(TARGET)