Category : C Source Code
Archive   : GHLNKLST.ZIP
Filename : MAKEFILE

 
Output of file : MAKEFILE contained in archive : GHLNKLST.ZIP
#
# Unix Makefile for linked-list library
#
# Makefile for ll.lib and lltest
#
#
WARN = -Wall
CC = gcc
CFLAGS = -O $(WARN)
NOLINK =
OBJLIB = llbase.o llprim.o llins.o llswap.o llsort.o

#
# make will deliver a warning on this line, but is required for
# nmake and nmk to work properly...
#
all : lltest libll.a

lltest : lltest.c libll.a ll.h
gcc $(CFLAGS) -o lltest lltest.c libll.a

libll.a : llbase.o llprim.o llins.o llswap.o llsort.o
ar r libll.a $(OBJLIB)
ranlib libll.a

llbase.o : llbase.c ll.h

llprim.o : llprim.c ll.h

llins.o : llins.c ll.h

llswap.o : llswap.c ll.h

llsort.o : llsort.c ll.h

lltest.o : lltest.c

clean:
rm -f lltest libll.a $(OBJLIB)



  3 Responses to “Category : C Source Code
Archive   : GHLNKLST.ZIP
Filename : MAKEFILE

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/