Just testing c and makefiles
Você não pode selecionar mais de 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.
 
 

18 linhas
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)