$NetBSD$

--- Makefile.orig	Sat Apr 21 00:15:30 2001
+++ Makefile
@@ -23,10 +23,10 @@
  charts0.o charts1.o charts2.o charts3.o intrpret.o\
  xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o
 # If you don't have X windows, delete the "-lX11" part from the line below:
-LIBS = -lm -lX11
-CFLAGS = -O
+LIBS = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lX11 -lm
+CFLAGS += -I${X11BASE}/include -DDEFAULT_DIR=\"${PREFIX}/lib/astrolog\"
 
 astrolog:: $(OBJ)
-	cc -o $(NAME) $(OBJ) $(LIBS)
-	strip $(NAME)
+	$(CC) -o $(NAME) $(OBJ) $(LIBS)
+#	strip $(NAME)
 #
