IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2005, 5:59:43 PM (21 years ago)
Author:
jhoblitt
Message:

tidying

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/psdb/makefile

    r3184 r3252  
    66LIBS=-lpslib
    77
    8 objects=test.o psleak.o psDB.o
     8test_objects=test.o psleak.o
     9objects=psDB.o
    910
    10 all: psdb
     11all: libpsdb.so
    1112
    12 test: psdb test-bin
     13test: test-bin
    1314        LD_LIBRARY_PATH=. ./test
    1415     
    15 test-bin: test.o
    16         $(CC) $(CFLAGS) -o test -L./ -lpsdb
     16test-bin: $(test_objects) libpsdb.so
     17        $(CC) $(CFLAGS) -o test $(test_objects) -L./ -lpsdb
    1718
    18 psdb: $(objects)
     19$(test-objects): %.o : %.c
     20        $(CC) $(CFLAGS) -o $@ -c $<
     21
     22libpsdb.so: $(objects)
    1923        $(CC) $(CFLAGS) -shared -o libpsdb.so $(objects) $(LIBS) $(MYSQL_FLAGS) $(MYSQL_LIBS)
    2024
     
    2327
    2428clean:
    25         $(RM) *.so *.o core
     29        $(RM) *.so *.o core test
Note: See TracChangeset for help on using the changeset viewer.