2015-12-04 14:47:52 +00:00
|
|
|
##
|
|
|
|
## Author......: Jens Steube <jens.steube@gmail.com>
|
|
|
|
## License.....: MIT
|
|
|
|
##
|
|
|
|
|
2016-01-15 16:16:43 +00:00
|
|
|
GCC := gcc
|
|
|
|
ROOT := ../..
|
2016-05-26 10:21:08 +00:00
|
|
|
CFLAGS := -O2 -s -pipe -W -Wall -std=c99 -I$(ROOT)/include/ -I$(ROOT)/OpenCL/
|
2015-12-04 14:47:52 +00:00
|
|
|
LIBS :=
|
2016-01-15 16:16:43 +00:00
|
|
|
TARGET := kernel2cpu_rule_test
|
|
|
|
INCLUDE := $(ROOT)/src/rp_kernel_on_cpu.c cpu_rules.c
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-01-03 19:15:52 +00:00
|
|
|
all: ${TARGET}.c
|
2015-12-04 14:47:52 +00:00
|
|
|
${GCC} ${CFLAGS} ${INCLUDE} $< -o ${TARGET}.bin ${LIBS}
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.bin
|