Makefile 404 B

1234567891011121314151617181920
  1. OUTPUT=./
  2. ifeq ("$(origin O)", "command line")
  3. OUTPUT := $(O)/
  4. endif
  5. default: all
  6. $(OUTPUT)centrino-decode: ../i386/centrino-decode.c
  7. $(CC) $(CFLAGS) -o $@ $<
  8. $(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c
  9. $(CC) $(CFLAGS) -o $@ $<
  10. all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode
  11. clean:
  12. rm -rf $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode
  13. .PHONY: all default clean