home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
octave-1.1.1p1-src.tgz
/
tar.out
/
fsf
/
octave
/
dld
/
test
/
general
/
Makefile
< prev
next >
Wrap
Makefile
|
1996-09-28
|
440b
|
26 lines
EXEC = dld-test
LIB = ../../libdld.a
OBJS = hello.o print_arg.o read-a.out.o list-undefined.o get-sym.o need.o\
test-define.o print_global.o remove.o
INCLUDE = ../../dld.h
CC= gcc
CFLAGS = -g -I../..
all: ${EXEC} ${OBJS} ${LIB}
clean:
rm -f ${EXEC} ${OBJS} *.o
${LIB}:
cd ../..; make
hello.o: hello.c
${CC} -c hello.c
.c.o:
${CC} -c ${CFLAGS} $*.c
dld-test: $(LIB) $(INCLUDE) main.o
${CC} ${CFLAGS} main.o $(LIB) -o dld-test