summaryrefslogtreecommitdiff
path: root/ext/Makefile.in
blob: 20d8c5c9c4f0e37db3a6f9b64bc656c28d5f8ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
2SHELL = /bin/sh

#### Start of system configuration section. ####

srcdir = @srcdir@
VPATH = @srcdir@

CC = @CC@

CFLAGS = -I.. @CCDLFLAGS@ @CFLAGS@
LIBS = @LIBS@
EXT = @EXT@

prefix = @prefix@
binprefix = 
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin

#### End of system configuration section. ####

.SUFFIXES: .so $(SUFFIXES)

OBJS	      = dbm.$(EXT) \
		socket.$(EXT)

all:		$(OBJS)

clean:;		@rm -f *.o *.so

realclean:;	@rm -f *.o *.so
		@rm -f core ruby *~ Makefile

.o.so:
	ld -o $*.so $*.o

# Prevent GNU make v3 from overflowing arg limit on SysV.
.NOEXPORT:
###
dbm.o: dbm.c ../ruby.h ../config.h ../defines.h
socket.o: socket.c ../ruby.h ../config.h ../defines.h ../io.h