Changeset 3252 for trunk/archive/psdb/makefile
- Timestamp:
- Feb 16, 2005, 5:59:43 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/archive/psdb/makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/psdb/makefile
r3184 r3252 6 6 LIBS=-lpslib 7 7 8 objects=test.o psleak.o psDB.o 8 test_objects=test.o psleak.o 9 objects=psDB.o 9 10 10 all: psdb11 all: libpsdb.so 11 12 12 test: psdbtest-bin13 test: test-bin 13 14 LD_LIBRARY_PATH=. ./test 14 15 15 test-bin: test.o16 $(CC) $(CFLAGS) -o test -L./ -lpsdb16 test-bin: $(test_objects) libpsdb.so 17 $(CC) $(CFLAGS) -o test $(test_objects) -L./ -lpsdb 17 18 18 psdb: $(objects) 19 $(test-objects): %.o : %.c 20 $(CC) $(CFLAGS) -o $@ -c $< 21 22 libpsdb.so: $(objects) 19 23 $(CC) $(CFLAGS) -shared -o libpsdb.so $(objects) $(LIBS) $(MYSQL_FLAGS) $(MYSQL_LIBS) 20 24 … … 23 27 24 28 clean: 25 $(RM) *.so *.o core 29 $(RM) *.so *.o core test
Note:
See TracChangeset
for help on using the changeset viewer.
