diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-28 00:31:32 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-06-28 08:53:07 +0200 |
commit | 2e20a7929f2a3e2b6470d7e1e4d9dc69c859aaf1 (patch) | |
tree | 81d5a0595844efdfe1a4e87aba44fa54c34362e7 /scripts/aurblup/Makefile | |
parent | 59c82af185c8ed41f038dc3477665f20b739bc25 (diff) | |
download | aur-2e20a7929f2a3e2b6470d7e1e4d9dc69c859aaf1.tar.gz aur-2e20a7929f2a3e2b6470d7e1e4d9dc69c859aaf1.tar.xz |
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 <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'scripts/aurblup/Makefile')
-rw-r--r-- | scripts/aurblup/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/aurblup/Makefile b/scripts/aurblup/Makefile index 67fcac19..2d574708 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" |