From 7e0de5b86b654842c85e38bd36b22fe4176068bf Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Sun, 8 Jan 2012 18:42:24 +1300 Subject: Inline GPIO functions and optimise for speed. This gives a modest but measurable performance improvement. --- src/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index fcaa42f..5e204f9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -7,9 +7,9 @@ VPATH += $(PROBE_HOST) BUILDDATE := `date +"%Y%m%d"` CFLAGS += -Wall -Wextra -Wno-pointer-sign -Wno-char-subscripts\ - -O0 -std=gnu99 -g3 -DBUILDDATE=\"$(BUILDDATE)\"\ + -O2 -std=gnu99 -g3 -DBUILDDATE=\"$(BUILDDATE)\"\ -I. -Iinclude -I$(PROBE_HOST) \ - -DVERSION_SUFFIX=\"`../scripts/setlocalversion`\" + -DVERSION_SUFFIX=\"`../scripts/setlocalversion`\" -MD SRC = gdb_if.c \ gdb_packet.c \ @@ -44,3 +44,5 @@ blackmagic: $(OBJ) clean: host_clean $(RM) *.o *~ blackmagic $(HOSTFILES) +-include *.d + -- cgit v1.2.3