diff options
author | aliaspider | 2014-10-31 07:47:19 +0100 |
---|---|---|
committer | aliaspider | 2014-10-31 07:47:19 +0100 |
commit | 532f3cf63ff1c12eebbc2c2c69cbf886a7e73bf7 (patch) | |
tree | 9a4e49e2860e8d2d403e14f250ae9ec4b07de50a /Makefile | |
parent | 8ada6093e7456c833823bb624bb24eb760ea0b14 (diff) | |
download | snes9x2005-532f3cf63ff1c12eebbc2c2c69cbf886a7e73bf7.tar.gz snes9x2005-532f3cf63ff1c12eebbc2c2c69cbf886a7e73bf7.tar.bz2 snes9x2005-532f3cf63ff1c12eebbc2c2c69cbf886a7e73bf7.zip |
add a perf counter.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,4 +1,5 @@ -DEBUG = 0 +DEBUG = 0 +PERF_TEST = 1 ifeq ($(platform),) platform = unix @@ -175,6 +176,10 @@ else FLAGS += -O3 -DNDEBUG endif +ifeq ($(PERF_TEST),1) +FLAGS += -DPERF_TEST +endif + LDFLAGS += $(fpic) -lz $(SHARED) FLAGS += $(fpic) FLAGS += -Isource -I. |