mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-15 17:02:05 +00:00
95180e18e6
already. For some reason, a stock install of MinGW doesn't define it, but if you compile your own GCC, it installs headers that do. - Changed the way that the makefiles detect MSYS to a method that should be more foolproof, thanks to changes in MSYS. SVN r737 (trunk)
29 lines
693 B
Text
29 lines
693 B
Text
MAKEWAD=../tools/makewad/makewad
|
|
XLATCC=../tools/xlatcc/xlatcc
|
|
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 $(XLATCC).exe $(DEHSUPP).exe
|
|
$(MAKEWAD) -make wadmake zdoom.lst
|
|
|
|
clean:
|
|
ifeq ($(OSTYPE),msys)
|
|
rm -f wadmake zdoom.pk3 xlat/*.x dehsupp.lmp
|
|
else
|
|
del /q /f wadmake zdoom.pk3 xlat\*.x dehsupp.lmp 2>nul
|
|
endif
|
|
|
|
../tools/makewad/makewad.exe:
|
|
$(MAKE) -C ../tools/makewad -f Makefile
|
|
|
|
../tools/xlatcc/xlatcc.exe:
|
|
$(MAKE) -C ../tools/xlatcc -f Makefile
|
|
|
|
../tools/dehsupp/dehsupp.exe:
|
|
$(MAKE) -C ../tools/dehsupp -f Makefile
|