diff options
author | Ludvig Strigeus | 2001-10-12 08:22:12 +0000 |
---|---|---|
committer | Ludvig Strigeus | 2001-10-12 08:22:12 +0000 |
commit | 862192dbebd24f32e24f051b5a88f1bb6d801be8 (patch) | |
tree | 3e10a51c5726dc2500d7de8ef744dde012a82847 /Makefile | |
parent | 75f9015681e2d01778f24d33191b8142904561aa (diff) | |
download | scummvm-rg350-862192dbebd24f32e24f051b5a88f1bb6d801be8.tar.gz scummvm-rg350-862192dbebd24f32e24f051b5a88f1bb6d801be8.tar.bz2 scummvm-rg350-862192dbebd24f32e24f051b5a88f1bb6d801be8.zip |
'make dist' supported
svn-id: r3432
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -1,16 +1,23 @@ CC = gcc -CFLAGS = -g -O2 -Wno-multichar +CFLAGS = -g -Wno-multichar DEFINES = -DUNIX -LDFLAGS = `sdl-config --libs` -INCLUDES= `sdl-config --cflags` +LDFLAGS := `sdl-config --libs` +INCLUDES:= `sdl-config --cflags` CPPFLAGS= $(DEFINES) $(INCLUDES) +ZIPFILE := scummvm-`date '+%Y-%m-%d'`.zip INCS = scumm.h scummsys.h stdafx.h OBJS = actor.o boxes.o costume.o gfx.o object.o resource.o \ saveload.o script.o scummvm.o sound.o string.o \ sys.o verbs.o sdl.o - + +DISTFILES=actor.cpp boxes.cpp costume.cpp gfx.cpp object.cpp resource.cpp \ + saveload.cpp script.cpp scummvm.cpp sound.cpp string.cpp \ + sys.cpp verbs.cpp sdl.cpp \ + Makefile scumm.h scummsys.h stdafx.h stdafx.cpp windows.cpp \ + whatsnew.txt readme.txt copying.txt scummvm.dsp scummvm.dsw + .cpp.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c $(<) @@ -22,5 +29,9 @@ scummvm: $(OBJS) clean: rm -f $(OBJS) scummvm +dist: + rm -f $(ZIPFILE) + zip -q $(ZIPFILE) $(DISTFILES) + check: $(OBJS): $(INCS) |