Changeset 36 for trunk/src/Makefile


Ignore:
Timestamp:
07/30/05 21:46:51 (19 years ago)
Author:
tim
Message:

replaced reglookup.c with test driver lib-regfio.c

updated relevant Makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r26 r36  
    44
    55REGLOOKUP=$(BUILD_BIN)/reglookup
     6LIBS=$(wildcard ../lib/*.o)
    67FILES=$(REGLOOKUP)
    78
    89all: $(FILES)
    910
    10 $(REGLOOKUP): reglookup.c
    11         $(CC) $(CFLAGS) $(OPTS) -o $@ reglookup.c
     11$(REGLOOKUP): reglookup.o $(LIBS)
     12        $(CC) $(CFLAGS) $(OPTS) -o $@ reglookup.o $(LIBS)
     13
     14reglookup.o:
     15        $(CC) $(CFLAGS) $(OPTS) -c -o $@ reglookup.c
    1216
    1317install:
    1418        cp -r $(BUILD_BIN)/* $(BIN_PREFIX)
     19
     20clean:
     21        rm -f *.o
Note: See TracChangeset for help on using the changeset viewer.