summaryrefslogtreecommitdiff
path: root/usub/Makefile
blob: cf3a48b3ea7cbf72c6c3e81d6e63a5d9b3aa85ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SRC = /usr/local/src/perl
GLOBINCS = 
LOCINCS = 
LIBS = -lcurses -ltermlib

curseperl: $(SRC)/uperl.o usersub.o curses.o
	cc $(SRC)/uperl.o usersub.o curses.o $(LIBS) -lm -o curseperl

usersub.o: usersub.c
	cc -c -I$(SRC) $(GLOBINCS) -DDEBUGGING -g usersub.c

curses.o: curses.c
	cc -c -I$(SRC) $(GLOBINCS) -DDEBUGGING -g curses.c

curses.c: curses.mus
	mus curses.mus >curses.c