File: Makefile

package info (click to toggle)
zh-autoconvert 0.3.16-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 3,612 kB
  • sloc: ansic: 28,053; perl: 264; makefile: 84; python: 9
file content (15 lines) | stat: -rwxr-xr-x 543 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
LDFLAGS += -g
CFLAGS := -Wall $(CFLAGS)
CC ?= gcc
LIBS = -L../../lib

all: xchat-autogb.so xchat-autob5.so

xchat-autogb.so:	xchat-autogb.c
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LIBS) -I. -DSKIPCONFIG -fPIC -shared -Wl,-soname,xchat-autogb.so -o $@ $< -lhz -lc `$(PKG_CONFIG) --cflags gtk+-2.0`

xchat-autob5.so:	xchat-autob5.c
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(LIBS) -I. -DSKIPCONFIG -fPIC -shared -Wl,-soname,xchat-autob5.so -o $@ $< -lhz  -lc `$(PKG_CONFIG) --cflags gtk+-2.0`

clean:
	rm -rf *~ xchat-autogb.so xchat-autob5.so