Added linux support to the EAXLegacyPreset and created the makefile for it

This commit is contained in:
Raynaldo Rivera 2010-02-20 08:35:34 +00:00
parent ce77c9f932
commit 869eb18b21
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,9 @@
CC=g++
CFLAGS=-Wall
LDFLAGS=-L../../Source -lcAudio
OBJECT=main.o
LINK_OPTIONS=-shared -DCAUDIO_PLATFORM_LINUX
all: $(OBJECT)
$(CC) -o cAp_EAX_LegacyPreset.o $(OBJECT) $(LINK_OPTIONS) $(LDFLAGS)

View File

@ -1,6 +1,9 @@
#include "../../include/cAudioDefines.h"
#include "cEAXLegacyPresetPlugin.h"
#include <string>
#ifdef CAUDIO_PLATFORM_LINUX
#include <cstring>
#endif
//Gives back the plugin class for cAudio to install and use.
extern "C" CAUDIO_API IAudioPlugin* GetPluginModule(const char* version)