This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl 4.0 patch 4: (combined patch)
[perl5.git] / usub / Makefile
index cf3a48b..107702f 100644 (file)
@@ -1,10 +1,10 @@
-SRC = /usr/local/src/perl
+SRC = ..
 GLOBINCS = 
 LOCINCS = 
-LIBS = -lcurses -ltermlib
+LIBS = -lcurses -ltermlib `. $(SRC)/config.sh; echo $$libs`
 
 curseperl: $(SRC)/uperl.o usersub.o curses.o
-       cc $(SRC)/uperl.o usersub.o curses.o $(LIBS) -lm -o curseperl
+       cc $(SRC)/uperl.o usersub.o curses.o $(LIBS) -o curseperl
 
 usersub.o: usersub.c
        cc -c -I$(SRC) $(GLOBINCS) -DDEBUGGING -g usersub.c