File: makefile.wm5

package info (click to toggle)
libwildmagic 5.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 89,572 kB
  • ctags: 26,264
  • sloc: cpp: 210,924; csh: 637; sh: 95; makefile: 36
file content (26 lines) | stat: -rw-r--r-- 1,110 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
CFG ?= Debug

build :
	@mkdir -p ../SDK/Include
	@mkdir -p ../SDK/Library/$(CFG)
	@mkdir -p $(CFG)
	@cp -fp *.h ../SDK/Include
	cd Assert        ; make -f ../makeprj.wm5 CFG=$(CFG)
	cd DataTypes     ; make -f ../makeprj.wm5 CFG=$(CFG)
	cd InputOutput   ; make -f ../makeprj.wm5 CFG=$(CFG)
	cd Memory        ; make -f ../makeprj.wm5 CFG=$(CFG)
	cd ObjectSystems ; make -f ../makeprj.wm5 CFG=$(CFG)
	cd Threading     ; make -f ../makeprj.wm5 CFG=$(CFG)
	cd Time          ; make -f ../makeprj.wm5 CFG=$(CFG)
	ln -sf -T libWm5Core.so.5.13 ../SDK/Library/$(CFG)/libWm5Core.so
	ln -sf -T libWm5Core.so.5.13 ../SDK/Library/$(CFG)/libWm5Core.so.5

clean :
	cd Assert        ; make clean -f ../makeprj.wm5 CFG=$(CFG)
	cd DataTypes     ; make clean -f ../makeprj.wm5 CFG=$(CFG)
	cd InputOutput   ; make clean -f ../makeprj.wm5 CFG=$(CFG)
	cd Memory        ; make clean -f ../makeprj.wm5 CFG=$(CFG)
	cd ObjectSystems ; make clean -f ../makeprj.wm5 CFG=$(CFG)
	cd Threading     ; make clean -f ../makeprj.wm5 CFG=$(CFG)
	cd Time          ; make clean -f ../makeprj.wm5 CFG=$(CFG)
	@rm -rf $(CFG)