File: Makefile

package info (click to toggle)
pcx 1.1.10-4
  • links: PTS
  • area: non-free
  • in suites: sarge
  • size: 1,636 kB
  • ctags: 1,127
  • sloc: ansic: 17,648; sh: 212; makefile: 150; csh: 48
file content (29 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (2)
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
#***********************************************************************
#***********************************************************************
#
#   Version:        0.4
#   Last modified:  January 13, 1995
#   Authors:        Esmond G. Ng and Barry W. Peyton
#
#   Mathematical Sciences Section, Oak Ridge National Laboratoy
#
#***********************************************************************
#***********************************************************************

include ../MAKEARCH/$(PCx_ARCH).make

CFLAGS  = -O -I. -D$(PCx_ARCH) -DKR_headers -DNON_UNIX_STDIO

F2C_FILES = \
 s_stop.o sfe.o fmt.o wsfe.o dfe.o wrtfmt.o \
 lwrite.o err.o wsle.o dolio.o endfile.o fmtlib.o lread.o open.o \
 rdfmt.o rsfe.o sig_die.o util.o wref.o close.o

f2c.a: $(F2C_FILES)
	${AR} r f2c.a $(F2C_FILES)
	$(RANLIB) f2c.a

clean:
	/bin/rm -f *.o  f2c.a

.c.o :; $(CC) $(CFLAGS) -c $*.c -o $*.o