1# Makefile for 2# zbuf - capacitance or inductance visualization picture 3 4# assumed places for unaliased executables - must be same in all Makefile.* 5SHELL = /bin/sh 6AWK = awk 7RM = /bin/rm 8CC = gcc 9 10MAKETYPE = other 11# normally overidden by master Makefile 12TYPE = other 13 14INCL = . 15IO = . 16DIR = . 17MUL = . 18ALC = . 19COM = . 20GEN = . 21BIN = ../../bin 22TOP = .. 23 24OBJS = $(MUL)/mulGlobal.o $(DIR)/extras.o \ 25$(MUL)/zbuf.o \ 26$(ALC)/uglieralloc.o \ 27$(IO)/patran.o $(IO)/quickif.o \ 28$(IO)/input.o \ 29$(IO)/zbufInOut.o $(IO)/zbuf2fastcap.o $(IO)/zbufProj.o $(IO)/zbufSort.o \ 30$(IO)/dump_struct.o $(IO)/savemat_mod.o 31 32SRCS = $(MUL)/mulGlobal.c $(DIR)/extras.c \ 33$(MUL)/zbuf.c \ 34$(ALC)/uglieralloc.c \ 35$(IO)/patran.c $(IO)/quickif.c \ 36$(IO)/input.c \ 37$(IO)/zbufInOut.c $(IO)/zbuf2fastcap.c $(IO)/zbufProj.c $(IO)/zbufSort.c \ 38$(IO)/dump_struct.c $(IO)/savemat_mod.c 39 40LIBS = -lm 41 42CFLAGS = -O -DOTHER -DNO_SBRK -DNO_ATANH -DNO_ISNAN -DNO_GETHOSTNAME 43 44zbuf: $(OBJS) 45 $(CC) -o zbuf $(CFLAGS) $(OBJS) $(LIBS) 46 mv zbuf.exe $(BIN)/zbuf.exe 47 48clean: 49 $(RM) -f *.o 50 51$(OBJS) : $(INCL)/mulStruct.h $(INCL)/mulGlobal.h $(INCL)/patran.h \ 52$(INCL)/resusage.h Makefile 53$(SRCS) : $(INCL)/mulStruct.h $(INCL)/mulGlobal.h $(INCL)/patran.h \ 54$(INCL)/resusage.h Makefile 55$(IO)/quickif.c $(IO)/quickif.o : $(IO)/quickif.h Makefile 56