Revision: | 36 |
Committed: | Fri Jul 19 00:48:45 2002 UTC (22 years, 2 months ago) by mmeineke |
File size: | 363 byte(s) |
Log Message: | moved the actual routine into a seperate source from the main. This allows the routine to be used in other applications. |
# | 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 | 34 | all: $(bin)/frameCount |
12 | |||
13 | $(bin)/frameCount: $(FC_OBJS) | ||
14 | $(CC) $(C_FLAGS) -o $@ $(FC_OBJS) -lm | ||
15 | |||
16 | mmeineke | 36 | mainFrameCount.o: mainFrameCount.c frameCount.h |
17 | $(CC) $(C_FLAGS) -c mainFrameCount.c | ||
18 | mmeineke | 34 | |
19 | clean: | ||
20 | rm *~; rm *.o; rm $(bin)/frameCount |