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

Comparing:
branches/mmeineke/madProps/Makefile (file contents), Revision 38 by mmeineke, Fri Jul 19 01:37:38 2002 UTC vs.
trunk/madProps/Makefile (file contents), Revision 41 by mmeineke, Fri Jul 19 01:44:34 2002 UTC

# Line 1 | Line 1
1   bin = $(HOME)/bin
2 + INC = ./headers
3   CC = gcc
4   C_FLAGS = -O3
5   #C_FLAGS = -g
6  
7   MP_OBJ = madProps.o frameCount.o
8 < MP_HEADERS = frameCount.h
8 > MP_HEADERS = $(INC)/frameCount.h
9  
10 < %.o:%.c %.h
11 <        $(CC) $(C_FLAGS) -c $*.c
10 > %.o:%.c $(INC)/%.h
11 >        $(CC) $(C_FLAGS) -c -I$(INC) $*.c
12  
13   all: $(bin)/madProps
14  
# Line 15 | Line 16 | madProps.o: madProps.c $(MP_HEADERS)
16          $(CC) $(C_FLAGS) -o $@ $(MP_OBJ) -lm
17  
18   madProps.o: madProps.c $(MP_HEADERS)
19 <        $(CC) $(C_FLAGS) -c madProps.c
19 >        $(CC) $(C_FLAGS) -c -I$(INC) madProps.c
20  
21   clean:
22          rm *~; rm *.o; rm $(bin)/madProps

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines