File: Makefile

package info (click to toggle)
tablix2 0.3.5-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,024 kB
  • sloc: ansic: 24,593; xml: 13,161; sh: 10,409; makefile: 800; perl: 564; yacc: 289; sed: 16
file content (17 lines) | stat: -rw-r--r-- 288 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS = -Wall -O2
INCLUDES = -I../../src -I/usr/include/tablix2

MODULES = hello.so fixed.so row.so

all: $(MODULES)

%.so: %.o
	gcc -shared -Wl,-soname,$@ -o $@ $< -lc
%.o: %.c
	gcc $(CFLAGS) $(INCLUDES) -c -o $@ $<

clean:
	-rm *.o *.so

install:
	cp $(MODULES) /usr/local/lib/tablix2