libgoatvr
diff Makefile.in @ 7:6896f9cf9621
- configure now emits config.status with the current confure invocation
- now vr_init will heed the VR_MODULE env var for the name of the module to use
- more stuff on the openhmd module
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 19 Sep 2014 15:16:51 +0300 |
parents | e63cb28fc644 |
children | d12592558809 |
line diff
1.1 --- a/Makefile.in Fri Sep 19 05:30:20 2014 +0300 1.2 +++ b/Makefile.in Fri Sep 19 15:16:51 2014 +0300 1.3 @@ -11,7 +11,7 @@ 1.4 endif 1.5 ifdef use_openhmd 1.6 mod_cflags += -DUSE_OPENHMD 1.7 - mod_libs += -lhmd 1.8 + mod_libs += -lopenhmd 1.9 endif 1.10 1.11 CFLAGS = -pedantic -Wall $(dbg) $(opt) $(pic) $(mod_cflags) 1.12 @@ -30,11 +30,17 @@ 1.13 endif 1.14 1.15 .PHONY: all 1.16 -all: $(lib_so) $(lib_a) 1.17 +all: $(lib_so) $(lib_a) $(soname) $(ldname) 1.18 1.19 $(lib_so): $(obj) 1.20 $(CC) -o $@ $(shared) $(obj) $(LDFLAGS) 1.21 1.22 +$(soname): $(lib_so) 1.23 + ln -sf $< $@ 1.24 + 1.25 +$(ldname): $(soname) 1.26 + ln -sf $< $@ 1.27 + 1.28 $(lib_a): $(obj) 1.29 $(AR) rcs $@ $(obj) 1.30 1.31 @@ -45,7 +51,7 @@ 1.32 1.33 .PHONY: clean 1.34 clean: 1.35 - rm -f $(obj) $(bin) 1.36 + rm -f $(obj) $(lib_so) $(lib_a) $(soname) $(ldname) 1.37 1.38 .PHONY: cleandep 1.39 cleandep: clean