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

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