From 651cdf38d473bc6d9986ba7e9cf2d9f171124097 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sun, 14 Oct 2012 15:21:26 +0300 Subject: [PATCH 1/3] Deleted symbols With a custom PKGBUILD (on Archlinux), Makepkg command fails with the previous operators. Now, we can build the package without any issues. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2ebf437..7d86568 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC ?= gcc STRIP ?= strip -CFLAGS ?= -std=c99 -fshort-wchar -Os -LDFLAGS += -lxcb +CFLAGS = -std=c99 -fshort-wchar -Os +LDFLAGS = -lxcb CFDEBUG = -g3 -pedantic -Wall -Wunused-parameter -Wlong-long\ -Wsign-conversion -Wconversion -Wimplicit-function-declaration From f15760305eb840f8a0a881a6ec8be3ac88d40358 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Tue, 16 Oct 2012 03:05:11 +0300 Subject: [PATCH 2/3] PREFIX Now system packages / softwares and user softwares are separated --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d86568..373ab30 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ EXEC = bar SRCS = bar.c OBJS = ${SRCS:.c=.o} -PREFIX?=/usr +PREFIX?=/usr/local BINDIR=${PREFIX}/bin all: ${EXEC} From 8c151184765e0b0ea484c4f47584558381dbc999 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sat, 20 Oct 2012 19:47:42 +0300 Subject: [PATCH 3/3] PREFIX?=/usr --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 373ab30..7d86568 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ EXEC = bar SRCS = bar.c OBJS = ${SRCS:.c=.o} -PREFIX?=/usr/local +PREFIX?=/usr BINDIR=${PREFIX}/bin all: ${EXEC}