mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Makefile:
new file
This commit is contained in:
22
storage/ndb/ndbapi-examples/ndbapi_async1/Makefile
Normal file
22
storage/ndb/ndbapi-examples/ndbapi_async1/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
TARGET = ndbapi_async1
|
||||
SRCS = ndbapi_async1.cpp
|
||||
OBJS = ndbapi_async1.o
|
||||
CXX = g++
|
||||
CFLAGS = -c -Wall -fno-rtti -fno-exceptions
|
||||
DEBUG =
|
||||
LFLAGS = -Wall
|
||||
TOP_SRCDIR = ../../../..
|
||||
INCLUDE_DIR = $(TOP_SRCDIR)
|
||||
LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/src/.libs \
|
||||
-L$(TOP_SRCDIR)/libmysql_r/.libs \
|
||||
-L$(TOP_SRCDIR)/mysys -L$(TOP_SRCDIR)/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)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(TARGET)
|
Reference in New Issue
Block a user