summaryrefslogtreecommitdiffstats
path: root/scripts/aurblup
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/aurblup')
-rw-r--r--scripts/aurblup/Makefile4
-rw-r--r--scripts/aurblup/config.mk2
2 files changed, 1 insertions, 5 deletions
diff --git a/scripts/aurblup/Makefile b/scripts/aurblup/Makefile
index 67fcac1..2d57470 100644
--- a/scripts/aurblup/Makefile
+++ b/scripts/aurblup/Makefile
@@ -5,16 +5,12 @@ OBJ = ${SRC:.c=.o}
all: aurblup
-.c.o:
- ${CC} -c ${CFLAGS} $<
-
config.h:
cp config.h.proto config.h
${OBJ}: config.h
aurblup: ${OBJ}
- ${CC} -o $@ ${OBJ} ${LDFLAGS}
install: aurblup
install -Dm0755 aurblup "${DESTDIR}${PREFIX}/bin/aurblup"
diff --git a/scripts/aurblup/config.mk b/scripts/aurblup/config.mk
index 9545f2c..f8e12a8 100644
--- a/scripts/aurblup/config.mk
+++ b/scripts/aurblup/config.mk
@@ -1,6 +1,6 @@
PREFIX = /usr/local
-CFLAGS = -g -std=c99 -pedantic -Wall -I/usr/include/mysql
+CFLAGS = -g -O2 -std=c99 -pedantic -Wall -I/usr/include/mysql
LDFLAGS = -g -lalpm -lmysqlclient
CC = cc