Last change
on this file since 43 was 37, checked in by tim, 20 years ago |
Added basic command line argument parsing. Only prefix_filter option works right now.
|
-
Property svn:keywords
set to
Id
|
File size:
408 bytes
|
Rev | Line | |
---|
[2] | 1 | # $Id: Makefile 37 2005-07-31 03:25:40Z tim $
|
---|
| 2 |
|
---|
[3] | 3 | ################################################################################
|
---|
| 4 |
|
---|
[5] | 5 | REGLOOKUP=$(BUILD_BIN)/reglookup
|
---|
[36] | 6 | LIBS=$(wildcard ../lib/*.o)
|
---|
[3] | 7 | FILES=$(REGLOOKUP)
|
---|
[1] | 8 |
|
---|
[5] | 9 | all: $(FILES)
|
---|
[3] | 10 |
|
---|
[36] | 11 | $(REGLOOKUP): reglookup.o $(LIBS)
|
---|
| 12 | $(CC) $(CFLAGS) $(OPTS) -o $@ reglookup.o $(LIBS)
|
---|
[26] | 13 |
|
---|
[37] | 14 | reglookup.o: reglookup.c
|
---|
[36] | 15 | $(CC) $(CFLAGS) $(OPTS) -c -o $@ reglookup.c
|
---|
| 16 |
|
---|
[26] | 17 | install:
|
---|
| 18 | cp -r $(BUILD_BIN)/* $(BIN_PREFIX)
|
---|
[36] | 19 |
|
---|
| 20 | clean:
|
---|
| 21 | rm -f *.o
|
---|
Note:
See
TracBrowser
for help on using the repository browser.