Skip to content

Commit

Permalink
tools: use the CC variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Nov 13, 2011
1 parent 4691fe6 commit b5cbe7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/Makefile
@@ -1,13 +1,13 @@
TARGETS=bin2hex mkmmimg flterm makeraw byteswap
COMPILER?=clang
CC=clang

all: $(TARGETS)

%: %.c
$(COMPILER) -O2 -Wall -I. -s -o $@ $<
$(CC) -O2 -Wall -I. -s -o $@ $<

makeraw: makeraw.c
$(COMPILER) -O2 -Wall -s -o $@ $< -lgd
$(CC) -O2 -Wall -s -o $@ $< -lgd

install: mkmmimg flterm
cp mkmmimg /usr/bin
Expand Down

0 comments on commit b5cbe7a

Please sign in to comment.