Last change
on this file since 217 was
143,
checked in by tim, 16 years ago
|
fixed a null pointer exception
removed some dependencies on less portable items
altered Makefiles to allow for MinGW cross compiling
|
-
Property svn:keywords set to
Id
|
File size:
757 bytes
|
Rev | Line | |
---|
[2] | 1 | # $Id: Makefile 143 2009-02-13 03:24:27Z tim $ |
---|
| 2 | |
---|
[3] | 3 | ################################################################################ |
---|
| 4 | |
---|
[143] | 5 | REGLOOKUP=$(BUILD_BIN)/reglookup$(BIN_EXT) |
---|
| 6 | REGLOOKUP_RECOVER=$(BUILD_BIN)/reglookup-recover$(BIN_EXT) |
---|
[73] | 7 | OBJ=$(wildcard ../lib/*.o) |
---|
[110] | 8 | FILES=$(REGLOOKUP) $(REGLOOKUP_RECOVER) |
---|
[1] | 9 | |
---|
[5] | 10 | all: $(FILES) |
---|
[3] | 11 | |
---|
[73] | 12 | $(REGLOOKUP): reglookup.o $(OBJ) |
---|
[143] | 13 | $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup.o $(OBJ) $(EXTRA_OBJ) |
---|
[26] | 14 | |
---|
[110] | 15 | $(REGLOOKUP_RECOVER): reglookup-recover.o $(OBJ) |
---|
[143] | 16 | $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup-recover.o $(OBJ) $(EXTRA_OBJ) |
---|
[110] | 17 | |
---|
[37] | 18 | reglookup.o: reglookup.c |
---|
[73] | 19 | $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ reglookup.c |
---|
[36] | 20 | |
---|
[110] | 21 | reglookup-recover.o: reglookup-recover.c |
---|
| 22 | $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ reglookup-recover.c |
---|
| 23 | |
---|
[26] | 24 | install: |
---|
[90] | 25 | install -m 0755 $(FILES) $(BIN_PREFIX) |
---|
[36] | 26 | |
---|
| 27 | clean: |
---|
| 28 | rm -f *.o |
---|
Note: See
TracBrowser
for help on using the repository browser.