File: Makefile

package info (click to toggle)
fudgit 2.42-6
  • links: PTS
  • area: non-free
  • in suites: potato, woody
  • size: 2,468 kB
  • ctags: 2,375
  • sloc: ansic: 27,729; makefile: 793; yacc: 724; lex: 102; asm: 29; fortran: 15
file content (23 lines) | stat: -rw-r--r-- 597 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Debugging:
# CFLAGS=-g -DDEBUG
# LIB=libdl_g.a
# Production:
CFLAGS = -O -prototypes
RANLIB = ranlib
LIB=libdl.a
LIBOBJS=dl_ldnfilep.o dl_ldzfilep.o dl_ldfile.o dl_loadmod.o dl_linkfile.o \
	dl_gettime.o dl_findcache.o dl_findlibs.o dl_error.o \
	dl_getbinary.o dl_checkrange.o dl_remsym.o
LIBSRCS=dl_ldnfilep.c dl_ldzfilep.c dl_ldfile.c dl_loadmod.c dl_linkfile.c \
	dl_gettime.c dl_findcache.c dl_findlibs.c dl_error.c \
	dl_getbinary.c dl_checkrange.c dl_remsym.c

$(LIB): $(LIBOBJS)
	rm -f $(LIB)
	ar lcq $(LIB) $(LIBOBJS)
	-$(RANLIB) $(LIB)

$(LIBOBJS): dl.h

clean:
	rm -f *.o $(LIB) core