Makefile 194 B

12345678910111213141516
  1. FILES=test-hello
  2. all: $(FILES)
  3. BUILD = $(CC) -o $(OUTPUT)$@ $@.c
  4. ###############################
  5. test-hello: test-hello.c
  6. $(BUILD)
  7. ###############################
  8. clean:
  9. rm -f $(FILES)