aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-07-31 16:24:59 +0200
committerJan200101 <sentrycraft123@gmail.com>2020-07-31 16:24:59 +0200
commitaabfdfe3fcbcf718b30872c98568581d7e7e6cca (patch)
treeb8b1d94814c9d339c6d6bb019f1fff9e4ccb2406 /Makefile
parent83e4ea0f70ba75f337615ee847f85d4be630686b (diff)
downloadpolecat-aabfdfe3fcbcf718b30872c98568581d7e7e6cca.tar.gz
polecat-aabfdfe3fcbcf718b30872c98568581d7e7e6cca.zip
implement config dirs and unpack tars to them0.1.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index bae52c5..0361e08 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# GENERAL VARIABLES
NAME := polecat
-VERSION := 0.1.0
+VERSION := 0.1.1
TARGET ?= debug
DEBUG := 0
ifeq ($(TARGET),debug)
@@ -45,17 +45,17 @@ ifeq ($(DEBUG),0)
else
COMMONFLAGS += -g
endif
-CFLAGS := $(COMMONFLAGS) -Wall `$(PKGCONFIG) json-c --cflags` `$(CURLCONFIG) --cflags`
-LDFLAGS := `$(PKGCONFIG) json-c --libs` `$(CURLCONFIG) --libs`
+CFLAGS := $(COMMONFLAGS) -Wall `$(PKGCONFIG) json-c --cflags` `$(PKGCONFIG) libarchive --cflags` `$(CURLCONFIG) --cflags`
+LDFLAGS := `$(PKGCONFIG) json-c --libs` `$(PKGCONFIG) libarchive --libs` `$(CURLCONFIG) --libs`
DEFINES := -DNAME=\"$(NAME)\" -DVERSION=\"$(VERSION)\"
ifeq ($(DEBUG),1)
DEFINES += -DDEBUG
endif
# SOURCE CODE AND OBJECT FILES
-CC_SRC_FILES := $(wildcard $(SRC_DIR)/*.c)
+CC_SRC_FILES := $(wildcard $(SRC_DIR)/*.c)
-OBJ_FILES := $(patsubst $(SRC_DIR)/%.c, $(OBJ_DIR)/$(TARGET)/%.o, $(CC_SRC_FILES))
+OBJ_FILES := $(patsubst $(SRC_DIR)/%.c, $(OBJ_DIR)/$(TARGET)/%.o, $(CC_SRC_FILES))
# TARGETS