Last change
on this file since 180 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
|
Line | |
---|
1 | # $Id: Makefile 143 2009-02-13 03:24:27Z tim $ |
---|
2 | |
---|
3 | ################################################################################ |
---|
4 | |
---|
5 | REGLOOKUP=$(BUILD_BIN)/reglookup$(BIN_EXT) |
---|
6 | REGLOOKUP_RECOVER=$(BUILD_BIN)/reglookup-recover$(BIN_EXT) |
---|
7 | OBJ=$(wildcard ../lib/*.o) |
---|
8 | FILES=$(REGLOOKUP) $(REGLOOKUP_RECOVER) |
---|
9 | |
---|
10 | all: $(FILES) |
---|
11 | |
---|
12 | $(REGLOOKUP): reglookup.o $(OBJ) |
---|
13 | $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup.o $(OBJ) $(EXTRA_OBJ) |
---|
14 | |
---|
15 | $(REGLOOKUP_RECOVER): reglookup-recover.o $(OBJ) |
---|
16 | $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup-recover.o $(OBJ) $(EXTRA_OBJ) |
---|
17 | |
---|
18 | reglookup.o: reglookup.c |
---|
19 | $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ reglookup.c |
---|
20 | |
---|
21 | reglookup-recover.o: reglookup-recover.c |
---|
22 | $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ reglookup-recover.c |
---|
23 | |
---|
24 | install: |
---|
25 | install -m 0755 $(FILES) $(BIN_PREFIX) |
---|
26 | |
---|
27 | clean: |
---|
28 | rm -f *.o |
---|
Note: See
TracBrowser
for help on using the repository browser.