diff options
Diffstat (limited to 'storage/ndb/ndbapi-examples/ndbapi_async_example1/Makefile')
-rw-r--r-- | storage/ndb/ndbapi-examples/ndbapi_async_example1/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/storage/ndb/ndbapi-examples/ndbapi_async_example1/Makefile b/storage/ndb/ndbapi-examples/ndbapi_async_example1/Makefile new file mode 100644 index 00000000000..7f6ea0b4d25 --- /dev/null +++ b/storage/ndb/ndbapi-examples/ndbapi_async_example1/Makefile @@ -0,0 +1,21 @@ +TARGET = ndbapi_async1 +SRCS = ndbapi_async1.cpp +OBJS = ndbapi_async1.o +CXX = g++ +CFLAGS = -c -Wall -fno-rtti -fno-exceptions +DEBUG = +LFLAGS = -Wall +INCLUDE_DIR = ../../include +LIB_DIR = -L../../src/.libs \ + -L../../../libmysql_r/.libs \ + -L../../../mysys -L../../../strings +SYS_LIB = + +$(TARGET): $(OBJS) + $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) + +$(TARGET).o: $(SRCS) + $(CXX) $(CFLAGS) -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS) + +clean: + rm -f *.o $(TARGET) |