Added a ifdef to cAudioManager to include alcext as well has the somewaht complete makefile
This commit is contained in:
parent
ff15f046a1
commit
4cba44dd46
|
@ -18,7 +18,10 @@
|
|||
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
|
||||
#ifdef CAUDIO_PLATFORM_LINUX
|
||||
#include <AL/alext.h>
|
||||
#endif
|
||||
|
||||
namespace cAudio
|
||||
{
|
||||
|
|
|
@ -12,8 +12,18 @@ COMPILE_OPTIONS=-fPIC
|
|||
|
||||
CC=g++
|
||||
|
||||
all: $(OBJECT)
|
||||
$(CC) -o $(SONAME) $(OBJECT) $(LINK_OPTIONS) $(DEPEND)
|
||||
all: shared static
|
||||
|
||||
|
||||
shared: $(OBJECT)
|
||||
$(CC) -o $(SONAME) $(OBJECT) $(LINK_OPTIONS) $(DEPEND)
|
||||
|
||||
static: $(OBJECT)
|
||||
ar cr libcAudio.$(VERSION).a *.o
|
||||
ranlib libcAudio.$(VERSION).a
|
||||
|
||||
clean:
|
||||
rm -f *.o *.so lib*.so libcAudio.$(VERSION).a *~
|
||||
|
||||
%.o: %.cpp
|
||||
$(CC) -c -o $@ $< $(COMPILE_OPTIONS)
|
||||
|
|
Loading…
Reference in New Issue