Changeset 3183
- Timestamp:
- Feb 9, 2005, 4:44:05 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/archive/psdb/makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/psdb/makefile
r3126 r3183 1 1 SHELL=/bin/sh 2 2 CFG=/usr/bin/mysql_config 3 CFLAGS=-g -O0 -pipe -f PIC-Wall -pedantic -std=c99 -L/usr/local/lib -I/usr/local/include3 CFLAGS=-g -O0 -pipe -fpic -Wall -pedantic -std=c99 -L/usr/local/lib -I/usr/local/include 4 4 MYLIBS:=$(shell $(CFG) --libs) 5 5 MYFLAGS:=$(shell $(CFG) --cflags) … … 8 8 objects=test.o psleak.o psDB.o 9 9 10 all: test10 all: psdb 11 11 12 test: $(objects) 13 $(CC) $(CFLAGS) -o test $(objects) $(LIBS) $(MYFLAGS) $(MYLIBS) 12 test: psdb test-bin 13 LD_LIBRARY_PATH=. ./test 14 15 test-bin: test.o 16 $(CC) $(CFLAGS) -o test -L./ -lpsdb 17 18 psdb: $(objects) 19 $(CC) $(CFLAGS) -shared -o libpsdb.so $(objects) $(LIBS) $(MYFLAGS) $(MYLIBS) 14 20 15 21 $(objects): %.o : %.c
Note:
See TracChangeset
for help on using the changeset viewer.
