remove -Wno-unused-parameter and -W, former is not supported by older gccs

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@46 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-01-03 00:30:47 +00:00
parent 3205bd6230
commit e5454e9f8a
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,7 @@ endif
CC = gcc CC = gcc
LDFLAGS = LDFLAGS =
CFLAGS = -g3 $(optimize) -Wall -W $(DEFS) CFLAGS = -g3 $(optimize) -Wall $(DEFS)
DEFS = -DVERSION=\"$(VERSION)\" DEFS = -DVERSION=\"$(VERSION)\"
SRCS = virus.c ttyrec.c dgamelaunch.c io.c ttyplay.c stripgfx.c SRCS = virus.c ttyrec.c dgamelaunch.c io.c ttyplay.c stripgfx.c
OBJS = $(SRCS:.c=.o) OBJS = $(SRCS:.c=.o)
@ -22,8 +22,10 @@ $(NAME): $(OBJS)
clean: clean:
rm -f dgamelaunch rm -f dgamelaunch
rm -f *.o .#* *~ rm -f *.o .#* *~
install: install:
cp dgamelaunch /usr/sbin cp dgamelaunch /usr/sbin
indent: indent:
indent -nut -ts2 *.c *.h indent -nut -ts2 *.c *.h
rm -f *~ rm -f *~