source: releases/0.2.2/src/Makefile @ 215

Last change on this file since 215 was 37, checked in by tim, 19 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
Line 
1# $Id: Makefile 37 2005-07-31 03:25:40Z tim $
2
3################################################################################
4
5REGLOOKUP=$(BUILD_BIN)/reglookup
6LIBS=$(wildcard ../lib/*.o)
7FILES=$(REGLOOKUP)
8
9all: $(FILES)
10
11$(REGLOOKUP): reglookup.o $(LIBS)
12        $(CC) $(CFLAGS) $(OPTS) -o $@ reglookup.o $(LIBS)
13
14reglookup.o: reglookup.c
15        $(CC) $(CFLAGS) $(OPTS) -c -o $@ reglookup.c
16
17install:
18        cp -r $(BUILD_BIN)/* $(BIN_PREFIX)
19
20clean:
21        rm -f *.o
Note: See TracBrowser for help on using the repository browser.