gzdoom-gles/wadsrc/Makefile.mgw

26 lines
561 B
Text
Raw Normal View History

MAKEWAD=../tools/makewad/makewad
DEHSUPP=../tools/dehsupp/dehsupp
ifneq ($(MAKECMDGOALS),clean)
include Makefile2
endif
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
export OSTYPE=msys
endif
wadmake: zdoom.lst $(MAKEWAD).exe $(DEHSUPP).exe
$(MAKEWAD) -make wadmake zdoom.lst
clean:
ifeq ($(OSTYPE),msys)
rm -f wadmake zdoom.pk3 dehsupp.lmp
else
del /q /f wadmake zdoom.pk3 dehsupp.lmp 2>nul
endif
../tools/makewad/makewad.exe:
$(MAKE) -C ../tools/makewad -f Makefile
../tools/dehsupp/dehsupp.exe:
$(MAKE) -C ../tools/dehsupp -f Makefile