2006-02-24 04:48:15 +00:00
|
|
|
# NMAKE doesn't know how to handle executables that use forward slashes in
|
|
|
|
# their paths, but it can handle forward slashes in dependencies. Heh.
|
|
|
|
# The wadsrc project file redefines MAKEWAD using backslashes instead. It
|
|
|
|
# also defines NOLOGO, so you don't need to see NMAKE's banner.
|
|
|
|
#
|
|
|
|
# Summary: If you use Visual C++, the provided project file is set up to
|
|
|
|
# build the wad correctly with nmake. If you use GCC, then "make" is
|
|
|
|
# sufficient to build the wad.
|
|
|
|
|
|
|
|
RM=rm -f
|
2006-12-29 02:21:47 +00:00
|
|
|
SLASH=/
|
|
|
|
MAKEWAD=..$(SLASH)tools$(SLASH)makewad$(SLASH)makewad
|
2008-03-23 05:24:40 +00:00
|
|
|
DEHSUPP=..$(SLASH)tools$(SLASH)dehsupp$(SLASH)dehsupp
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
makethewad: wadmake Makefile2
|
2008-03-23 05:24:40 +00:00
|
|
|
$(MAKE) $(NOLOGO) DEHSUPP=$(DEHSUPP) -f Makefile2
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
wadmake: zdoom.lst
|
|
|
|
$(MAKEWAD) -make wadmake zdoom.lst
|
|
|
|
|
|
|
|
clean:
|
2008-03-23 05:24:40 +00:00
|
|
|
$(RM) wadmake zdoom.pk3 dehsupp.lmp
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
# This target is for Visual C++'s Rebuild All command
|
|
|
|
nrebuild: clean
|
2006-12-29 02:21:47 +00:00
|
|
|
$(MAKE) NOLOGO=$(NOLOGO) SLASH=$(SLASH)
|
2006-04-29 12:40:09 +00:00
|
|
|
copy zdoom.pk3 ..\..
|
2006-02-24 04:48:15 +00:00
|
|
|
|
|
|
|
# Copy the wad to my testing area
|
|
|
|
andcopy: makethewad
|
2006-04-29 12:40:09 +00:00
|
|
|
copy zdoom.pk3 ..\..
|