home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.muug.mb.ca
/
2014.06.ftp.muug.mb.ca.tar
/
ftp.muug.mb.ca
/
pub
/
src
/
linux
/
old-src
/
ncurses-1.8.5
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-11-27
|
936b
|
57 lines
INCLUDE = -I/usr/include/ncurses
CC= gcc
CFLAGS= $(INCLUDE) -Wall -O6
LIBPATH = -L/usr/lib
LINKLIB = $(LIBPATH) -lncurses
TESTS = caps battle gdc hanoi knight rain worm acs scroll getch slk\
color attr
color: color.o
$(CC) -s -o color color.o $(LINKLIB)
attr: attr.o
$(CC) -s -o attr attr.o $(LINKLIB)
battle: battle.o
$(CC) -s -o battle battle.o $(LINKLIB)
gdc: gdc.o
$(CC) -s -o gdc gdc.o $(LINKLIB)
hanoi: hanoi.o
$(CC) -s -o hanoi hanoi.o $(LINKLIB)
knight: knight.o
$(CC) -s -o knight knight.o $(LINKLIB)
rain: rain.o
$(CC) -s -o rain rain.o $(LINKLIB)
worm: worm.o
$(CC) -s -o worm worm.o $(LINKLIB)
slk: slk.o
$(CC) -s -o slk slk.o $(LINKLIB)
getch: getch.o
$(CC) -s -o getch getch.o $(LINKLIB)
acs: acs.o
$(CC) -s -o acs acs.o $(LINKLIB)
caps: caps.o
$(CC) -s -o caps caps.o $(LINKLIB)
scroll: scroll.o
$(CC) -s -o scroll scroll.o $(LINKLIB)
all: $(TESTS)
clean:
rm -rf *.o trace t $(TESTS)