2018-03-12 20:48:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
|
|
MAKE = mingw32-make
|
|
|
|
else
|
|
|
|
UNAME_S := $(shell uname -s)
|
|
|
|
ifeq ($(UNAME_S),Linux)
|
|
|
|
MAKE = make
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
include Makefile.dirs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
$(MAKE) -f Makefile.dspl
|
|
|
|
cp -r include/dspl.h release/include/dspl.h
|
|
|
|
cp -r include/dspl.c release/include/dspl.c
|
|
|
|
$(MAKE) -f Makefile.test
|
|
|
|
cp -r $(RELEASE_DIR)/$(DSPL_LIBNAME) test/bin/$(DSPL_LIBNAME)
|
2018-05-05 07:33:56 +00:00
|
|
|
|
2018-03-12 20:48:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(MAKE) -f Makefile.dspl clean
|
|
|
|
$(MAKE) -f Makefile.test clean
|
2018-05-05 07:33:56 +00:00
|
|
|
|
2018-03-12 20:48:32 +00:00
|
|
|
|