Changeset 36


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

Location:
trunk
Files:
1 deleted
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r26 r36  
    1818
    1919BUILD_TREE=$(BUILD_BIN) $(BUILD_DOC)
    20 SUB_DIRS=src doc
     20SUB_DIRS=lib src doc
    2121
    2222FILES=$(REGLOOKUP)
  • trunk/lib/Makefile

    r31 r36  
    33################################################################################
    44
    5 CC=gcc
    6 OPTS=-ggdb -std=gnu89 -pedantic -Wall
    75FILES=regfio.o smb_deps.o void_stack.o
    86
  • 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.