2003-12-31 03:39:10 +01:00
|
|
|
VERSION = 1.3.10.1
|
2003-12-30 22:30:32 +01:00
|
|
|
CC = gcc
|
|
|
|
LDFLAGS =
|
2003-12-31 03:39:10 +01:00
|
|
|
CFLAGS = -g3 -O0 -Wall -W -Wno-unused-parameter $(DEFS)
|
|
|
|
DEFS = -DVERSION=\"$(VERSION)\"
|
2003-12-30 22:30:32 +01:00
|
|
|
SRCS = virus.c ttyrec.c dgamelaunch.c io.c ttyplay.c stripgfx.c
|
|
|
|
OBJS = $(SRCS:.c=.o)
|
|
|
|
LIBS = -lncurses -lcrypt
|
|
|
|
|
|
|
|
all: dgamelaunch
|
|
|
|
|
|
|
|
dgamelaunch: $(OBJS)
|
|
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f dgamelaunch
|
|
|
|
rm -f *.o
|
|
|
|
install:
|
2003-12-30 23:58:55 +01:00
|
|
|
cp dgamelaunch /usr/sbin
|
2003-12-30 22:30:32 +01:00
|
|
|
indent:
|
|
|
|
indent -ts2 *.c *.h
|
|
|
|
rm *~
|
|
|
|
release: clean indent
|