Commit 704600d9 authored by Mart Lubbers's avatar Mart Lubbers

makefile for windows

parent 17916e94
ifeq ($(OS), Windows_NT)
DETECTED_OS=Windows
else
DETECTED_OS=POSIX
endif
all: listDevices
%: %.prj %.icl
cpm $<
%.prj:
cpm project $(basename $@) create
cpm project $@ target iTasks
cpm project $@ set -h 2000m -s 20m -dynamics
cpm project $@ root ..
cpm project $@ path add "$$PWD/../POSIX"
cpm project $@ path add "$$PWD/../$(DETECTED_OS)"
cpm project $@ path add "$$PWD/.."
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