47 lines
577 B
Text
47 lines
577 B
Text
|
#
|
||
|
# Makefile for convert (SGI version)
|
||
|
#
|
||
|
|
||
|
SHELL=/bin/sh
|
||
|
|
||
|
SRC = .
|
||
|
MISCSRC=$(SRC)/../Misc
|
||
|
MISCBIN=$(MISCSRC)
|
||
|
|
||
|
CC = cc
|
||
|
CFLAGS = -g -ansi -prototypes -I$(MISCSRC)
|
||
|
LDFLAGS = -g
|
||
|
LIBS = $(MISCBIN)/misc.a
|
||
|
|
||
|
#
|
||
|
# Programs made by this makefile
|
||
|
#
|
||
|
PROGS = convert
|
||
|
|
||
|
all : $(PROGS)
|
||
|
|
||
|
#
|
||
|
# Where the wild things are
|
||
|
#
|
||
|
|
||
|
OBJS = \
|
||
|
list.o \
|
||
|
main.o \
|
||
|
dapIO.o \
|
||
|
dapDB.o \
|
||
|
bapIO.o \
|
||
|
bapDB.o \
|
||
|
process.o \
|
||
|
flat_sd.o
|
||
|
|
||
|
convert: $(OBJS)
|
||
|
$(CC) $(CFLAGS) -o convert $(OBJS) $(LIBS) $(LDFLAGS)
|
||
|
#
|
||
|
# Special dependencies
|
||
|
#
|
||
|
%.o:$(SRC)/%.c
|
||
|
$(CC) $(CFLAGS) -c $<
|
||
|
|
||
|
clean :
|
||
|
/bin/rm -f $(PROGS) $(OBJS) *~
|