IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 571


Ignore:
Timestamp:
May 3, 2004, 4:28:21 PM (22 years ago)
Author:
rhl
Message:

Build a dynamic library on Darwin machines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/src/Utils/Makefile

    r446 r571  
    11CC = cc -std=c99
    22CFLAGS = -Wall -g -I$(PSLIB_DIR)/include -I$(FFTW_DIR)/include
     3DYLIB = dylib
     4DYLIB_LDFLAGS = "-undefined suppress -flat_namespace -dynamiclib";
    35
    46PSLIB_DIR = ../..
    57
    68OBJS = array.o dlist.o error.o hash.o logmsg.o memory.o misc.o trace.o
     9
     10.PHONY : all
     11all : $(PSLIB_DIR)/lib/libUtils.a libUtils.$(DYLIB)
     12
     13libUtils.$(DYLIB) : $(OBJS)
     14        $(LD) -o libUtils.$(DYLIB) $(DYLIB_LDFLAGS) $(OBJS)
     15        mv libUtils.$(DYLIB) $(PSLIB_DIR)/lib
    716
    817$(PSLIB_DIR)/lib/libUtils.a : $(OBJS)
Note: See TracChangeset for help on using the changeset viewer.