mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
584f68e8ad
and updated some docs
21 lines
524 B
Makefile
21 lines
524 B
Makefile
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
|
|
SYS_LIB =
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lz $(SYS_LIB) -o $(TARGET)
|
|
|
|
$(TARGET).o: $(SRCS)
|
|
$(CXX) $(CFLAGS) -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
|
|
|
|
clean:
|
|
rm -f *.o $(TARGET)
|