mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 00:21:35 +00:00
8ea316e33b
don't need to be compiled and can be stored as text in zdoom.pk3. SVN r815 (trunk)
31 lines
1,010 B
Makefile
31 lines
1,010 B
Makefile
# 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
|
|
SLASH=/
|
|
MAKEWAD=..$(SLASH)tools$(SLASH)makewad$(SLASH)makewad
|
|
DEHSUPP=..$(SLASH)tools$(SLASH)dehsupp$(SLASH)dehsupp
|
|
|
|
makethewad: wadmake Makefile2
|
|
$(MAKE) $(NOLOGO) DEHSUPP=$(DEHSUPP) -f Makefile2
|
|
|
|
wadmake: zdoom.lst
|
|
$(MAKEWAD) -make wadmake zdoom.lst
|
|
|
|
clean:
|
|
$(RM) wadmake zdoom.pk3 dehsupp.lmp
|
|
|
|
# This target is for Visual C++'s Rebuild All command
|
|
nrebuild: clean
|
|
$(MAKE) NOLOGO=$(NOLOGO) SLASH=$(SLASH)
|
|
copy zdoom.pk3 ..\..
|
|
|
|
# Copy the wad to my testing area
|
|
andcopy: makethewad
|
|
copy zdoom.pk3 ..\..
|