CC = gcc #CFLAGS = -Wall -g -D_GNU_SOURCE -DDEBUG CFLAGS = -Wall -g -D_GNU_SOURCE LDFLAGS = LIBS = -lm -lcpufreq OBJS = main.o parse.o system.o benchmark.o cpufreq-bench: $(OBJS) $(CC) -o $@ $(CFLAGS) $(OBJS) $(LIBS) all: cpufreq-bench clean: rm -f *.o rm -f cpufreq-bench