source: trunk/src/Makefile @ 81

Last change on this file since 81 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
Line 
1# $Id: Makefile 73 2006-07-31 01:15:56Z tim $
2
3################################################################################
4
5REGLOOKUP=$(BUILD_BIN)/reglookup
6OBJ=$(wildcard ../lib/*.o)
7FILES=$(REGLOOKUP)
8
9all: $(FILES)
10
11$(REGLOOKUP): reglookup.o $(OBJ)
12        $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup.o $(OBJ)
13
14reglookup.o: reglookup.c
15        $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ reglookup.c
16
17install:
18        cp -r $(FILES) $(BIN_PREFIX)
19
20clean:
21        rm -f *.o
Note: See TracBrowser for help on using the repository browser.