| Revision: | 41 |
| Committed: | Fri Jul 19 01:44:34 2002 UTC (23 years, 3 months ago) by mmeineke |
| File size: | 406 byte(s) |
| Log Message: | made a header directory, and fixed the Makefile to work with it |
| # | Content |
|---|---|
| 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 = $(INC)/frameCount.h |
| 9 | |
| 10 | %.o:%.c $(INC)/%.h |
| 11 | $(CC) $(C_FLAGS) -c -I$(INC) $*.c |
| 12 | |
| 13 | all: $(bin)/madProps |
| 14 | |
| 15 | $(bin)/madProps: $(MP_OBJ) |
| 16 | $(CC) $(C_FLAGS) -o $@ $(MP_OBJ) -lm |
| 17 | |
| 18 | madProps.o: madProps.c $(MP_HEADERS) |
| 19 | $(CC) $(C_FLAGS) -c -I$(INC) madProps.c |
| 20 | |
| 21 | clean: |
| 22 | rm *~; rm *.o; rm $(bin)/madProps |