ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/frameCount/src/Makefile
Revision: 84
Committed: Fri Aug 16 16:45:29 2002 UTC (21 years, 10 months ago) by mmeineke
File size: 569 byte(s)
Log Message:
added a utility to output what time of each frame

File Contents

# Content
1 bin = $(HOME)/bin
2 CC = gcc
3 C_FLAGS = -O3
4 #C_FLAGS = -g
5
6 FC_OBJS = frameCount.o mainFrameCount.o
7
8 %.o:%.c %.h
9 $(CC) $(C_FLAGS) -c $*.c
10
11 all: $(bin)/frameCount $(bin)/frameTime
12
13 $(bin)/frameTime: mainFrameTime.o frameCount.o
14 $(CC) $(C_FLAGS) -o $@ mainFrameTime.o frameCount.o -lm
15
16 $(bin)/frameCount: $(FC_OBJS)
17 $(CC) $(C_FLAGS) -o $@ $(FC_OBJS) -lm
18
19 mainFrameCount.o: mainFrameCount.c frameCount.h
20 $(CC) $(C_FLAGS) -c mainFrameCount.c
21
22 mainFrameTime.o: mainFrameTime.c frameCount.h
23 $(CC) $(C_FLAGS) -c mainFrameTime.c
24
25 clean:
26 rm *~; rm *.o; rm $(bin)/frameCount