# # Makefile for some odd library functions # LIB =../Libtermcap.a AR =gar AS =gas LD =gld LDFLAGS =-s -x CC =gcc INC =#-nostdinc -I/linux/usr/include CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer \ -finline-functions $(INC) -DUSG -DSTDC_HEADERS CPP =$(CC) -E $(INC) .c.s: $(CC) $(CFLAGS) \ -S -o $*.s $< .s.o: $(CC) -c -o $*.o $< .c.o: $(CC) $(CFLAGS) \ -c -o $*.o $< OBJS = tput.o conversions.o getopt.o getopt1.o termcap.o tparam.o OBJS = termcap.o tparam.o all: library library: $(OBJS) $(AR) uvc $(LIB) $(OBJS) sync clean: $(RM) -f core *.o *.a tmp_make for i in *.c;do $(RM) -f `basename $$i .c`.s;done dep: sed '/\#\#\# Dependencies/q' < Makefile > tmp_make (for i in *.c;do echo -n `echo $$i | sed 's,\.c,\.s,'`" "; \ $(CPP) -M $$i;done) >> tmp_make cp tmp_make Makefile ### Dependencies: