From 1d1796c97867ada2211a39b313ef6398297c7b8f Mon Sep 17 00:00:00 2001 From: hybrid Date: Sat, 8 Aug 2026 08:10:17 +0300 Subject: upd: tmp --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ba28c77..c7c7777 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC := /usr/bin/gcc -CFLAGS = -Wall -Wpedantic -I$(INC_DIR) -O2 +CFLAGS = -Wall -Wpedantic -I$(INC_DIR) -O2 -fPIC LDLIBS := -lm # DIRS @@ -7,12 +7,14 @@ BASE_DIR = $(pwd) SRC_DIR = src BIN_DIR = bin OBJ_DIR = obj -#LIB_DIR := lib +LIB_DIR := lib BUILD_DIR = build INC_DIR = include +EXAMPLE_DIR = example # TARGETS -TARGET := $(BIN_DIR)/catragmx +LIBBALLISTIC := $(LIB_DIR)/libballistic.so +EXAMPLE := $(BIN_DIR)/example SOURCES := $(wildcard $(SRC_DIR)/*.c) OBJECTS := $(SOURCES:$(SRC_DIR)/%.c=$(BUILD_DIR)/%.o) -- cgit v1.3.1