ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/frameCount/src/Makefile
(Generate patch)

Comparing trunk/frameCount/src/Makefile (file contents):
Revision 35 by mmeineke, Fri Jul 19 00:01:59 2002 UTC vs.
Revision 84 by mmeineke, Fri Aug 16 16:45:29 2002 UTC

# Line 3 | Line 3 | FC_OBJS = frameCount.o
3   C_FLAGS = -O3
4   #C_FLAGS = -g
5  
6 < FC_OBJS = frameCount.o
6 > FC_OBJS = frameCount.o mainFrameCount.o
7  
8 < all: $(bin)/frameCount
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 < frameCount.o: frameCount.c
20 <        $(CC) $(C_FLAGS) -c $?
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines