37 lines
534 B
Makefile
37 lines
534 B
Makefile
|
### General DamnCute Engine Makefile ###
|
||
|
|
||
|
ifeq ($(OS),Windows_NT)
|
||
|
error:
|
||
|
$(info Windows is not yet supported)
|
||
|
else
|
||
|
|
||
|
UNAME := $(shell uname -s)
|
||
|
|
||
|
ifeq ($(UNAME),Linux)
|
||
|
|
||
|
project:
|
||
|
make -f ./Makefile_linux
|
||
|
build-only:
|
||
|
make -f ./Makefile_linux build-only
|
||
|
clean:
|
||
|
make -f ./Makefile_linux clean
|
||
|
fclean:
|
||
|
make -f ./Makefile_linux fclean
|
||
|
|
||
|
endif
|
||
|
|
||
|
ifeq ($(UNAME),Darwin)
|
||
|
|
||
|
project:
|
||
|
make -f ./Makefile_mac
|
||
|
build-only:
|
||
|
make -f ./Makefile_mac build-only
|
||
|
clean:
|
||
|
make -f ./Makefile_mac clean
|
||
|
fclean:
|
||
|
make -f ./Makefile_mac fclean
|
||
|
|
||
|
endif
|
||
|
|
||
|
endif
|