Last change
on this file since 73 was
73,
checked in by tim, 18 years ago
|
fixes for Makefiles to support FreeBSD's iconv
|
-
Property svn:keywords set to
Id
|
File size:
413 bytes
|
Rev | Line | |
---|
[2] | 1 | # $Id: Makefile 73 2006-07-31 01:15:56Z tim $ |
---|
| 2 | |
---|
[3] | 3 | ################################################################################ |
---|
| 4 | |
---|
[5] | 5 | REGLOOKUP=$(BUILD_BIN)/reglookup |
---|
[73] | 6 | OBJ=$(wildcard ../lib/*.o) |
---|
[3] | 7 | FILES=$(REGLOOKUP) |
---|
[1] | 8 | |
---|
[5] | 9 | all: $(FILES) |
---|
[3] | 10 | |
---|
[73] | 11 | $(REGLOOKUP): reglookup.o $(OBJ) |
---|
| 12 | $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup.o $(OBJ) |
---|
[26] | 13 | |
---|
[37] | 14 | reglookup.o: reglookup.c |
---|
[73] | 15 | $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ reglookup.c |
---|
[36] | 16 | |
---|
[26] | 17 | install: |
---|
[65] | 18 | cp -r $(FILES) $(BIN_PREFIX) |
---|
[36] | 19 | |
---|
| 20 | clean: |
---|
| 21 | rm -f *.o |
---|
Note: See
TracBrowser
for help on using the repository browser.