Commit 71105773 authored by gaurav's avatar gaurav

Minor changes to examples/Makefile

parent ea226d19
...@@ -38,7 +38,6 @@ run_test_all: ...@@ -38,7 +38,6 @@ run_test_all:
$(MAKE) APPBASEDIR=$$e run_test; \ $(MAKE) APPBASEDIR=$$e run_test; \
done done
ir2c: run_ir2c compile_ir2c test_ir2c ir2c: run_ir2c compile_ir2c test_ir2c
ir2c_all: ir2c_all:
...@@ -46,19 +45,6 @@ ir2c_all: ...@@ -46,19 +45,6 @@ ir2c_all:
$(MAKE) APPBASEDIR=$$e ir2c; \ $(MAKE) APPBASEDIR=$$e ir2c; \
done done
#As part of running IR2C
#Then extracting the name without extension from filename and
#adding IR.c extension
#run_ir2c: $(SRC)
# $(PY) $(IR2C) $^ >& $(IRDIR)/$(basename $(notdir $^))_IR.c
#run_ir2c:
# for s in $(SRC); \
# do \
# srcFile=`notdir $$s`; \
# irFile=$(basename $$srcFile)_IR.c; \
# $(PY) $(IR2C) $$s >& $(IRDIR)/$$irFile; \
# done
run_ir2c: run_ir2c:
set -e; $(foreach s,$(SRC), $(IR2C) $(s) > $(APPBASEDIR)/$(IRDIR)/$(basename $(notdir $(s)))_IR.c ;) set -e; $(foreach s,$(SRC), $(IR2C) $(s) > $(APPBASEDIR)/$(IRDIR)/$(basename $(notdir $(s)))_IR.c ;)
set -e; $(foreach h,$(HDR), $(LN) -f ../$(APPDIR)/$(basename $(notdir $(h))).h $(APPBASEDIR)/$(IRDIR)/$(basename $(notdir $(h))).h ;) set -e; $(foreach h,$(HDR), $(LN) -f ../$(APPDIR)/$(basename $(notdir $(h))).h $(APPBASEDIR)/$(IRDIR)/$(basename $(notdir $(h))).h ;)
...@@ -96,7 +82,6 @@ compile_hc: ...@@ -96,7 +82,6 @@ compile_hc:
test_hc: test_hc:
$(MAKE) -C $(APPBASEDIR)/$(HC_DIR) test $(MAKE) -C $(APPBASEDIR)/$(HC_DIR) test
#adding - to rm so that errors are ignored #adding - to rm so that errors are ignored
clean_ba: clean_ba:
@echo Cleaning up back annotation test @echo Cleaning up back annotation test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment