From 2e20a7929f2a3e2b6470d7e1e4d9dc69c859aaf1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 27 Jun 2011 17:31:32 -0500 Subject: aurblup: use implicit make rules and adjust CFLAGS We don't need to add rules for implicit .c -> .o conversions. Also add -O2 to the CFLAGS as gcc doesn't print many warnings unless at least some level of optimization is used. Signed-off-by: Dan McGee Signed-off-by: Lukas Fleischer --- scripts/aurblup/Makefile | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts/aurblup/Makefile') 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" -- cgit v1.2.3-70-g09d2