mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
15 lines
259 B
Makefile
15 lines
259 B
Makefile
|
CC = g++
|
||
|
CPPFLAGS = -I. -D_GNU_SOURCE
|
||
|
CFLAGS = -Wall -g
|
||
|
LDFLAGS = -lpthread
|
||
|
TARGET = worker-test
|
||
|
SRCS = $(wildcard *.c)
|
||
|
OBJS = $(patsubst %.c,%.o,$(SRCS))
|
||
|
|
||
|
$(TARGET): $(OBJS)
|
||
|
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||
|
|
||
|
clean:
|
||
|
rm -rf $(TARGET) $(OBJS)
|
||
|
|