2008-02-10 01:21:45 +00:00
|
|
|
MAKEWAD=../tools/makewad/makewad
|
2008-03-23 05:24:40 +00:00
|
|
|
DEHSUPP=../tools/dehsupp/dehsupp
|
2008-02-10 01:21:45 +00:00
|
|
|
|
|
|
|
ifneq ($(MAKECMDGOALS),clean)
|
|
|
|
include Makefile2
|
|
|
|
endif
|
|
|
|
ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
|
|
|
|
export OSTYPE=msys
|
|
|
|
endif
|
|
|
|
|
2008-03-23 05:24:40 +00:00
|
|
|
wadmake: zdoom.lst $(MAKEWAD).exe $(DEHSUPP).exe
|
2008-02-10 01:21:45 +00:00
|
|
|
$(MAKEWAD) -make wadmake zdoom.lst
|
|
|
|
|
|
|
|
clean:
|
|
|
|
ifeq ($(OSTYPE),msys)
|
2008-03-23 05:24:40 +00:00
|
|
|
rm -f wadmake zdoom.pk3 dehsupp.lmp
|
2008-02-10 01:21:45 +00:00
|
|
|
else
|
2008-03-23 05:24:40 +00:00
|
|
|
del /q /f wadmake zdoom.pk3 dehsupp.lmp 2>nul
|
2008-02-10 01:21:45 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
../tools/makewad/makewad.exe:
|
|
|
|
$(MAKE) -C ../tools/makewad -f Makefile
|
2008-03-23 05:24:40 +00:00
|
|
|
|
|
|
|
../tools/dehsupp/dehsupp.exe:
|
|
|
|
$(MAKE) -C ../tools/dehsupp -f Makefile
|