File: Makefile

package info (click to toggle)
yh 3.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,184 kB
  • ctags: 688
  • sloc: ansic: 106,858; makefile: 135; csh: 13
file content (26 lines) | stat: -rw-r--r-- 681 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
#Create by Yu Guanghui

DESTDIR =

all: yh bxm gbkpy qvwei

yh bxm gbkpy qvwei: im
	$(MAKE) -C src/$@
im:
	$(MAKE) -C src/im

install: all
	install -d $(DESTDIR)/usr/lib/yh $(DESTDIR)/usr/bin
	install src/bxm/bxm src/gbkpy/gbkpy src/qvwei/qvwei $(DESTDIR)/usr/bin
	install -m4755 -oroot -groot src/yh/yh $(DESTDIR)/usr/bin
	install -m644 -p yhinstall/yh/lib/8x16.fnt  yhinstall/yh/lib/bxm_gb.mb \
		yhinstall/yh/lib/gbk16.fnt  yhinstall/yh/lib/gbkpy.mb \
		yhinstall/yh/lib/incode.txt  yhinstall/yh/lib/system.ims \
		$(DESTDIR)/usr/lib/yh 

clean:
	$(MAKE) -C src/yh clean
	$(MAKE) -C src/bxm clean
	$(MAKE) -C src/gbkpy clean
	$(MAKE) -C src/qvwei clean
	$(MAKE) -C src/im clean