added linux support
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40549
This commit is contained in:
parent
88023370ea
commit
ad5bc37912
@ -12,7 +12,7 @@
|
||||
|
||||
#ifndef _INCLUDE_BATINTERFACE
|
||||
#define _INCLUDE_BATINTERFACE
|
||||
#include "ismmplugin.h"
|
||||
#include <ISmmPlugin.h>
|
||||
|
||||
#define ADMININTERFACE_VERSION 0
|
||||
#define ADMININTERFACE_MAXACCESSLENGTHTEXT 50 // This is the maximum length of a "flag" access text.
|
||||
@ -58,4 +58,5 @@ class MyListener : public IMetamodListener
|
||||
public:
|
||||
virtual void *OnMetamodQuery(const char *iface, int *ret);
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -9,7 +9,7 @@ SOURCEMM = ../../../../sourcemm
|
||||
### EDIT BELOW FOR OTHER PROJECTS ###
|
||||
#####################################
|
||||
|
||||
PROJECT = sample
|
||||
PROJECT = batsupport
|
||||
|
||||
#Uncomment for SourceMM-enabled extensions
|
||||
#LINK_HL2 = $(HL2LIB)/tier1_i486.a vstdlib_i486.so tier0_i486.so
|
||||
@ -60,14 +60,10 @@ endif
|
||||
BINARY = $(PROJECT).ext.so
|
||||
|
||||
OBJ_LINUX := $(OBJECTS:%.cpp=$(BIN_DIR)/%.o)
|
||||
OBJ_LINUX := $(OBJECTS:%.c=$(BIN_DIR)/%.o)
|
||||
|
||||
$(BIN_DIR)/%.o: %.cpp
|
||||
$(CPP) $(INCLUDE) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
|
||||
|
||||
$(BIN_DIR)/%.o: %.c
|
||||
$(CPP) $(INCLUDE) $(CFLAGS) -o $@ -c $<
|
||||
|
||||
all:
|
||||
mkdir -p $(BIN_DIR)
|
||||
ln -sf $(SRCDS)/bin/vstdlib_i486.so vstdlib_i486.so
|
||||
|
Loading…
Reference in New Issue
Block a user