diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fabafde --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +CC=gcc +CFLAGS=-std=c11 -Wall -Wextra -O2 +LDFLAGS= +TARGET=cpu_governor_monitor + +all: $(TARGET) + +$(TARGET): main.c + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) + +clean: + rm -f $(TARGET)