File: makefile.in

package info (click to toggle)
ted 2.6-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,928 kB
  • ctags: 8,734
  • sloc: ansic: 71,878; makefile: 2,363; sh: 159
file content (49 lines) | stat: -rw-r--r-- 762 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
CC=@CC@
CFLAGS=@CFLAGS@ -I../include -I.

WFLAGS=	-Wall			\
	-pedantic		\
	-Wpointer-arith		\
	-fstrict-prototype	\
	-Wstrict-prototypes	\
	-Wmissing-declarations	\
	-Wnested-externs	\
	-Wshadow		\
	-Wmissing-prototypes

#CFLAGS	= -pipe $(WFLAGS) -g -O2 -I../include

# 5 lines
OBS	=	\
		regsub.o\
		regexp.o\
		regerror.o

LIB=	../lib/reg.a
INC=	../include/reg.h

$(LIB):	$(OBS)
	ar r $@ $(OBS) && @RANLIB@ $@

# deps -I../include
######################################## !! sh

regerror.o: \
    regerror.c \
    config.h \
    ../include/reg.h

regexp.o: \
    regexp.c \
    config.h \
    ../include/reg.h \
    regmagic.h \
    ../include/debugon.h \
    ../include/debug.h

regsub.o: \
    regsub.c \
    config.h \
    ../include/reg.h \
    regmagic.h