blob: a604e7d742e102d0f442ec7dd4a96ad86d64b926 (
plain) (
blame)
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
38
39
40
41
42
43
|
--- Makefile.orig Mon Apr 5 16:43:35 1999
+++ Makefile Fri Aug 11 07:31:39 2000
@@ -3,16 +3,16 @@
### Compilers, Programs and Flags
#################################
### C Compiler
-CC = cc -c
+CC ?= cc -c
/*CC = cc -c -Aa -D_HPUX_SOURCE*/
-CFLAGS = -I./pixmaps -I./Xpm -I./TextField-1.0 -I/usr/contrib/X11R6/include
+CFLAGS += -I./pixmaps -I./TextField-1.0 -I$(X11BASE)/include
### Fortran Compiler
FC = xlf
FFLAGS = -qlanglvl=90ext
### Linker/Loader
-LD = cc
+LD = $(CC)
LDFLAGS =
### Shell Command
@@ -199,17 +199,17 @@
### Program Libraries #
#######################
-LIBS = -L /usr/lib -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext -L./Xpm -lxpm ./TextField-1.0/*.o
+LIBS = -L$(X11BASE)/lib -lXaw -lX11 -lm -lXt -lXmu -lXext -lXpm ./TextField-1.0/*.o
-SUBDIRS = cd Xpm; make; cd ../TextField-1.0; make; cd ..
+SUBDIRS = cd ./TextField-1.0; $(MAKE); cd ..
########################
### Additional Targets #
########################
all: $(OBJS)
- cd Xpm; make; cd ../TextField-1.0; make; cd ..
+ cd ./TextField-1.0; $(MAKE); cd ..
@echo "Linking $(PROGRAM) ..."
@$(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
@echo "done"
|