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

 
Output of file : MAKEFILE contained in archive : AETSK101.ZIP
# makefile for libtask.a
# this makefile was written for GNUish MAKE

LONGARGS = gcc:ar

VPATH = .;src

CFLAGS = -O -Iinc

ODIR = objs

LIB = lib

$(ODIR)/%.o : %.cc
gcc $(CFLAGS) -c $< -o $(ODIR)/$*.o

OBJS = \
$(ODIR)/task.o \
$(ODIR)/semas.o \
$(ODIR)/mailbox.o \
$(ODIR)/pipes.o \
$(ODIR)/sysqvfnc.o \
$(ODIR)/taskmain.o \
$(ODIR)/keybdtsk.o \
$(ODIR)/tskfatal.o


$(LIB)/libtask.a: $(ODIR) $(OBJS)
ar rv $@ $?
ranlib $@

$(ODIR) :
md $(ODIR)
CFLAGS = -O -I../inc

test : test.o ../lib/libtask.a
gcc $(CFLAGS) $^ -lpc -o test

test.o : test.cc
gcc $(CFLAGS) -c $<



  3 Responses to “Category : C Source Code
Archive   : AETSK101.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/