home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-08-11 | 1.1 KB | 43 lines |
- # Project name: curses
- # AMU Makefile for MINIX curses library
- # By Nick Smith, 1993
-
- # Toolflags:
- CFLAGS = -depend !Depend -DTERMIO -DMINIX -throwback -pcc -Ih.^ -J<UnixLib$dir>.clib -DARCH -w -ffwca
- Linkflags = -aif -o
- Squeezeflags = -o
- LibFileflags = -c -o
-
- # Dependencies
-
- LIBS = <UnixLib$Dir>.clib.o.unixlib
-
- BITS = attrib.o beep.o boxes.o charadd.o \
- chardel.o charget.o charins.o charpick.o \
- clrtobot.o clrtoeol.o endwin.o initscr.o \
- linedel.o lineins.o longname.o move.o \
- mvcursor.o newwin.o options.o overlay.o \
- prntscan.o refresh.o scrreg.o setterm.o \
- stradd.o strget.o termmisc.o tabsize.o \
- unctrl.o update.o winclear.o windel.o \
- winerase.o winmove.o winscrol.o wintouch.o cursesio.o
-
- DEMOBITS = demo.o curses $(LIBS)
-
- .c.o:; cc $(CFLAGS) -c -o $@ $<
-
- all: curses demo
-
- curses: $(BITS)
- libfile $(LibFileflags) $@ $(BITS)
-
- demo: $(DEMOBITS)
- link $(LinkFlags) $@ $(DEMOBITS)
- squeeze demo
- clean:
- remove curses
- remove demo
- wipe o.* ~v~c
-
- # Dynamic dependencies:
-