Changeset 143 for trunk/src/Makefile


Ignore:
Timestamp:
02/12/09 22:24:27 (16 years ago)
Author:
tim
Message:

fixed a null pointer exception

removed some dependencies on less portable items

altered Makefiles to allow for MinGW cross compiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r110 r143  
    33################################################################################
    44
    5 REGLOOKUP=$(BUILD_BIN)/reglookup
    6 REGLOOKUP_RECOVER=$(BUILD_BIN)/reglookup-recover
     5REGLOOKUP=$(BUILD_BIN)/reglookup$(BIN_EXT)
     6REGLOOKUP_RECOVER=$(BUILD_BIN)/reglookup-recover$(BIN_EXT)
    77OBJ=$(wildcard ../lib/*.o)
    88FILES=$(REGLOOKUP) $(REGLOOKUP_RECOVER)
     
    1111
    1212$(REGLOOKUP): reglookup.o $(OBJ)
    13         $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup.o $(OBJ)
     13        $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup.o $(OBJ) $(EXTRA_OBJ)
    1414
    1515$(REGLOOKUP_RECOVER): reglookup-recover.o $(OBJ)
    16         $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup-recover.o $(OBJ)
     16        $(CC) $(CFLAGS) $(OPTS) $(LIB) -o $@ reglookup-recover.o $(OBJ) $(EXTRA_OBJ)
    1717
    1818reglookup.o: reglookup.c
Note: See TracChangeset for help on using the changeset viewer.