Blame src/components/powercap/tests/Makefile
|
Packit |
577717 |
NAME=powercap
|
|
Packit |
577717 |
include ../../Makefile_comp_tests.target
|
|
Packit |
577717 |
|
|
Packit |
577717 |
TESTS = powercap_basic powercap_limit
|
|
Packit |
577717 |
|
|
Packit |
577717 |
powercap_tests: $(TESTS)
|
|
Packit |
577717 |
|
|
Packit |
577717 |
powercap_basic.o: powercap_basic.c
|
|
Packit |
577717 |
$(CC) $(CFLAGS) $(OPTFLAGS) $(INCLUDE) -c powercap_basic.c -o powercap_basic.o -DBASIC_TEST=1
|
|
Packit |
577717 |
|
|
Packit |
577717 |
powercap_basic: powercap_basic.o $(UTILOBJS) $(PAPILIB)
|
|
Packit |
577717 |
$(CC) $(INCLUDE) -o powercap_basic powercap_basic.o $(UTILOBJS) $(PAPILIB) $(LDFLAGS)
|
|
Packit |
577717 |
|
|
Packit |
577717 |
|
|
Packit |
577717 |
powercap_limit.o: powercap_limit.c
|
|
Packit |
577717 |
$(CC) $(CFLAGS) $(OPTFLAGS) $(INCLUDE) -c powercap_limit.c -o powercap_limit.o
|
|
Packit |
577717 |
|
|
Packit |
577717 |
powercap_limit: powercap_limit.o $(UTILOBJS) $(PAPILIB)
|
|
Packit |
577717 |
$(CC) $(INCLUDE) -o powercap_limit powercap_limit.o $(UTILOBJS) $(PAPILIB) $(LDFLAGS)
|
|
Packit |
577717 |
|
|
Packit |
577717 |
clean:
|
|
Packit |
577717 |
rm -f $(TESTS) *.o *~
|