File: Makefile

package info (click to toggle)
vile 9.5-i1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,248 kB
  • ctags: 8,023
  • sloc: ansic: 86,640; lex: 8,291; sh: 3,073; perl: 2,926; cpp: 2,891; makefile: 779; awk: 276
file content (15 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC = gcc
CFLAGS = -O2 -pipe -Wall -DHAVE_CONFIG_H -I.. $(SH_CFLAGS)
LDFLAGS = -s $(SH_LDFLAGS)

SH_CFLAGS = -DPIC -fPIC
SH_LDFLAGS = -shared

PLUGINS = test
SHLIBS = $(PLUGINS:%=vile-%-plugin.so)

all : $(SHLIBS)

vile-%-plugin.so : %.o
	$(CC) $(LDFLAGS) -o $@ $<