#ident %W% %G% # # This makefile generates the "cmprss5" program # #------------------------------------------------------------------------------ # List sources. Try to group sources in variables. SRC0 = cmprss5.c #------------------------------------------------------------------------------ # List generated objects in link order. OBJ0 = cmprss5.o #------------------------------------------------------------------------------ # List system libraries LIB = -lXw -lXt -lX11 -lmalloc #------------------------------------------------------------------------------ # List Prism libraries PLIB = -lOIXt -lOIlib #------------------------------------------------------------------------------ # The "all" entry should make everything into the current directory all: make cmprss5 cmprss5: $(OBJ0) cc -o cmprss5 $(OBJ0) $(SHARED)/index_util.o \ -L$(SHARED) $(PLIB) $(LIB) $(OBJ0): cc -I$(SHARED) -O1 -c $*.c -o $*.o