File: Makefile

package info (click to toggle)
rt-tests 2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: ansic: 13,273; python: 495; makefile: 237; sh: 158
file content (12 lines) | stat: -rw-r--r-- 288 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: GPL-2.0-or-later
all: feature-libcpupower

feature-libcpupower: $(OBJDIR)/test-libcpupower.o

$(OBJDIR)/test-libcpupower.o: feature/test-libcpupower.c
	@$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -lcpupower -o $@

.PHONY: clean

clean:
	rm -f $(OBJDIR)/test-*.o