mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
9c1fa19dd2
the DEHSUPP compiler is gone now. Unlike XLATCC I'm using FScanner though. A fully featured parser seems like overkill for this simple text file. SVN r840 (trunk)
30 lines
924 B
Makefile
30 lines
924 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
|
|
|
|
makethewad: wadmake Makefile2
|
|
$(MAKE) $(NOLOGO) -f Makefile2
|
|
|
|
wadmake: zdoom.lst
|
|
$(MAKEWAD) -make wadmake zdoom.lst
|
|
|
|
clean:
|
|
$(RM) wadmake zdoom.pk3
|
|
|
|
# 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 ..\..
|