Yoshihiro YUNOMAE | 108fc82 | 2012-08-09 21:31:30 +0900 | [diff] [blame] | 1 | CC = gcc |
Yoshihiro YUNOMAE | 5b8fa82 | 2012-09-04 09:53:39 +0900 | [diff] [blame] | 2 | CFLAGS = -O2 -Wall -pthread |
Yoshihiro YUNOMAE | 108fc82 | 2012-08-09 21:31:30 +0900 | [diff] [blame] | 3 | |
| 4 | all: trace-agent |
| 5 | |
| 6 | .c.o: |
Yoshihiro YUNOMAE | 5b8fa82 | 2012-09-04 09:53:39 +0900 | [diff] [blame] | 7 | $(CC) $(CFLAGS) -c $^ -o $@ |
Yoshihiro YUNOMAE | 108fc82 | 2012-08-09 21:31:30 +0900 | [diff] [blame] | 8 | |
| 9 | 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] | 10 | $(CC) $(CFLAGS) -o $@ $^ |
Yoshihiro YUNOMAE | 108fc82 | 2012-08-09 21:31:30 +0900 | [diff] [blame] | 11 | |
| 12 | clean: |
| 13 | rm -f *.o trace-agent |