initial import

This commit is contained in:
Johannes Hofmann
2017-05-19 12:18:17 +02:00
parent ccf4f3333d
commit b99cacd528
87 changed files with 4142 additions and 0 deletions

26
Makefile Normal file
View File

@@ -0,0 +1,26 @@
COMPILER=ICC
TARGET = ibench
SRC_DIR = src
KDIRS += $(patsubst $(SRC_DIR)/%, %, $(wildcard $(SRC_DIR)/*))
Q = @
include include_$(COMPILER).mk
$(TARGET): ibench.c $(KDIRS) $(KERNELS)
$(Q)echo "===> COMPILING $@"
$(Q)$(CC) $(CFLAGS) $< -o $@ -ldl
$(KDIRS):
$(Q)mkdir $(KDIRS)
%.so:
$(Q)echo "===> ASSEMBLING $@"
$(Q)$(AS) $(LFLAGS) $(patsubst %.so, $(SRC_DIR)/%.S, $@) -o $@
.PHONY: clean
clean:
$(Q)echo "===> CLEAN"
$(Q)rm -rf $(KDIRS)
$(Q)rm -f $(TARGET)