source: trunk/src/Makefile @ 119

Last change on this file since 119 was 110, checked in by tim, 17 years ago

moved unallocated cell parsing back out of the main line hbin parsing

  • Property svn:keywords set to Id
File size: 711 bytes
Line 
1# $Id: Makefile 110 2008-04-29 22:59:55Z tim $
2
3################################################################################
4
5REGLOOKUP=$(BUILD_BIN)/reglookup
6REGLOOKUP_RECOVER=$(BUILD_BIN)/reglookup-recover
7OBJ=$(wildcard ../lib/*.o)
8FILES=$(REGLOOKUP) $(REGLOOKUP_RECOVER)
9
10all: $(FILES)
11
12$(REGLOOKUP): reglookup.o $(OBJ)
13        $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup.o $(OBJ)
14
15$(REGLOOKUP_RECOVER): reglookup-recover.o $(OBJ)
16        $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup-recover.o $(OBJ)
17
18reglookup.o: reglookup.c
19        $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ reglookup.c
20
21reglookup-recover.o: reglookup-recover.c
22        $(CC) $(CFLAGS) $(OPTS) $(INC) -c -o $@ reglookup-recover.c
23
24install:
25        install -m 0755 $(FILES) $(BIN_PREFIX)
26
27clean:
28        rm -f *.o
Note: See TracBrowser for help on using the repository browser.