freebsd-ports/x11-fonts/getbdf/files/patch-aa
1996-08-30 20:14:00 +00:00

37 lines
925 B
Text

*** Makefile.orig Wed Mar 7 17:23:09 1990
--- Makefile Sat Aug 31 00:04:49 1996
***************
*** 1,22 ****
OBJS= getbdf.o Xargs.o open_display.o
! # HP or SUN ?
! #CFLAGS= -g -DHP
! CFLAGS= -g
getbdf: $(OBJS)
! cc $(CFLAGS) $(OBJS) -o getbdf -lX11 -lm
!
!
! getbdf.o: getbdf.c
! cc -c $(CFLAGS) getbdf.c -I. -I/usr/include/X11
!
! Xargs.o: Xargs.c
! cc -c $(CFLAGS) Xargs.c -I. -I/usr/include/X11
!
! open_display.o: open_display.c
! cc -c $(CFLAGS) open_display.c -I. -I/usr/include/X11
clean:
rm -f $(OBJS) getbdf
--- 1,10 ----
OBJS= getbdf.o Xargs.o open_display.o
! CFLAGS+= -I. -I${X11BASE}/include
getbdf: $(OBJS)
! cc $(CFLAGS) $(OBJS) -o getbdf -L${X11BASE}/lib -lX11 -lm
clean:
rm -f $(OBJS) getbdf