File: Makefile

package info (click to toggle)
array-info 0.16-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 324 kB
  • sloc: ansic: 2,056; makefile: 121; xml: 19
file content (24 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

INCLUDES = -I../include

CFLAGS = -g2 -Wall $(INCLUDES) -fPIC
OBJS = array_plugin_api.o

OUTPUT = libarray-info.a

all : $(OUTPUT)

$(OUTPUT) : $(OBJS)
	ar -cr $(OUTPUT) $(OBJS)
	ranlib $(OUTPUT)

install:

indent : 
	find . -name "*.[ch]" -exec indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl {} \; && find . -name "*~" -exec rm {} \;

clean :
	rm -f *~ $(OBJS) $(OUTPUT)

distclean : clean