blob: 3c534f9d54648bd0480fd6fbb76df512df14fcde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
*** 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${LOCALBASE}/include
getbdf: $(OBJS)
! cc $(CFLAGS) $(OBJS) -o getbdf -L${LOCALBASE}/lib -lX11 -lm
clean:
rm -f $(OBJS) getbdf
|