summaryrefslogtreecommitdiff
path: root/atarist/usub/makefile.st
blob: ede484f336a3c0d32e3ea36f49777855e12b4ad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = cgcc
SRC = ..
GLOBINCS = 
LOCINCS = 
LIBS = -lcurses  -lgdbm -lpml -lgnu

cperl.ttp: $(SRC)/uperl.a usersub.o curses.o
	$(CC) $(SRC)/uperl.a usersub.o curses.o $(LIBS) -o cperl.ttp

usersub.o: usersub.c
	$(CC) -c -I$(SRC) $(GLOBINCS) -O usersub.c

curses.o: curses.c
	$(CC) -c -I$(SRC) $(GLOBINCS) -O curses.c

curses.c: acurses.mus
	perl mus acurses.mus >curses.c