From e2f8fbfb166720529dd8ccab82dd0eca21cc7f61 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 17 Apr 2011 01:43:48 +0000 Subject: sbtools: update Makefile; fix whitespaces git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29734 a1c6a512-1295-4272-9138-f99709370657 --- utils/sbtools/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'utils/sbtools/Makefile') diff --git a/utils/sbtools/Makefile b/utils/sbtools/Makefile index 9427eaf875..e8bb68aadd 100644 --- a/utils/sbtools/Makefile +++ b/utils/sbtools/Makefile @@ -1,9 +1,10 @@ -TGT = sbinfo +all: elftosb sbtoelf -all: $(TGT) +sbtoelf: sbtoelf.c crc.c crypto.h aes128.c sha1.c elf.c sb.h + gcc -g -std=c99 -o $@ -W -Wall $^ -$(TGT): sbinfo.c crc.c crypto.h aes128.c sha1.c elf.c - $(CC) -g -std=c99 -o $(TGT) -W -Wall sbinfo.c aes128.c crc.c sha1.c elf.c +elftosb: elftosb.c crc.c crypto.h aes128.c sha1.c elf.c sb.h + gcc -g -std=c99 -o $@ -W -Wall $^ clean: - rm -fr $(TGT) + rm -fr elftosb sbtoelf -- cgit v1.2.3