blob: 0d2381633475a2faca9412a3d1dbce673d4dd32b [file] [log] [blame]
Yoshihiro YUNOMAE108fc822012-08-09 21:31:30 +09001CC = gcc
Yoshihiro YUNOMAE5b8fa822012-09-04 09:53:39 +09002CFLAGS = -O2 -Wall -pthread
Yoshihiro YUNOMAE108fc822012-08-09 21:31:30 +09003
4all: trace-agent
5
6.c.o:
Yoshihiro YUNOMAE5b8fa822012-09-04 09:53:39 +09007 $(CC) $(CFLAGS) -c $^ -o $@
Yoshihiro YUNOMAE108fc822012-08-09 21:31:30 +09008
9trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
Yoshihiro YUNOMAE5b8fa822012-09-04 09:53:39 +090010 $(CC) $(CFLAGS) -o $@ $^
Yoshihiro YUNOMAE108fc822012-08-09 21:31:30 +090011
12clean:
13 rm -f *.o trace-agent