1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2025-04-21 12:27:27 +03:00

m1/perf/: scheduler cleanup; output comparison tool

This commit is contained in:
Werner Almesberger
2011-09-18 00:51:17 -03:00
parent 31558805ae
commit 64e2a3c6b7
3 changed files with 102 additions and 54 deletions

View File

@@ -3,7 +3,9 @@ COMPILER_DIR=$(M1)/flickernoise/src
M1SWINC_DIR=$(M1)/milkymist/software/include
M1SWLIB_DIR=$(M1)/milkymist/software/libfpvm
CFLAGS_COMMON=-Wall -g -pg # -DCOMP_DEBUG
#CFLAGS_EXTRA=-DCOMP_DEBUG
CFLAGS_EXTRA=
CFLAGS_COMMON=-Wall -g -pg $(CFLAGS_EXTRA)
CFLAGS=$(CFLAGS_COMMON) \
-I$(COMPILER_DIR) \
-Ifakes -I$(M1SWINC_DIR)
@@ -15,6 +17,8 @@ COMPILER_O = $(COMPILER_DIR)/compiler.o
LIBFPVM_A = $(M1SWLIB_DIR)/libfpvm.a
OBJS = main.o $(COMPILER_O)
.PHONY: all clean path
all: main
main: $(OBJS) $(LIBFPVM_A)
@@ -33,3 +37,6 @@ clean:
$(MAKE) -C $(M1SWLIB_DIR) clean
$(MAKE) -C $(COMPILER_DIR) clean
rm -f $(OBJS)
path:
@echo $(M1)