Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Yoshihiro YUNOMAE | 108fc82 | 2012-08-09 21:31:30 +0900 | [diff] [blame] | 2 | CC = gcc |
Yoshihiro YUNOMAE | 5b8fa82 | 2012-09-04 09:53:39 +0900 | [diff] [blame] | 3 | CFLAGS = -O2 -Wall -pthread |
Yoshihiro YUNOMAE | 108fc82 | 2012-08-09 21:31:30 +0900 | [diff] [blame] | 4 | |
| 5 | all: trace-agent |
| 6 | |
| 7 | .c.o: |
Yoshihiro YUNOMAE | 5b8fa82 | 2012-09-04 09:53:39 +0900 | [diff] [blame] | 8 | $(CC) $(CFLAGS) -c $^ -o $@ |
Yoshihiro YUNOMAE | 108fc82 | 2012-08-09 21:31:30 +0900 | [diff] [blame] | 9 | |
| 10 | trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o |
Yoshihiro YUNOMAE | 5b8fa82 | 2012-09-04 09:53:39 +0900 | [diff] [blame] | 11 | $(CC) $(CFLAGS) -o $@ $^ |
Yoshihiro YUNOMAE | 108fc82 | 2012-08-09 21:31:30 +0900 | [diff] [blame] | 12 | |
| 13 | clean: |
| 14 | rm -f *.o trace-agent |