Makefile 158 B

12345678910
  1. CC=gcc
  2. CFLAGS=-Wall -g -std=c11 -O3
  3. LDFLAGS=
  4. PREFIX=./bin
  5. TARGET=cputhrottle
  6. all:
  7. mkdir -p $(PREFIX)
  8. $(CC) $(CFLAGS) $(LDFLAGS) -o $(PREFIX)/$(TARGET) *.c