DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦a7a9907b0⟧ TextFile

    Length: 1129 (0x469)
    Types: TextFile
    Notes: UNIX file
    Names: »Makefile«

Derivation

└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦2d53db1df⟧ UNIX Filesystem
        └─ ⟦this⟧ »hr/src/graph/Makefile« 

TextFile

.SUFFIXES:.o .s .c

#
#
#	Makefile for the layers software.. testing only
#
HDRPTH =/usr/src/hdr

#FONT = /z/hr/font2

#FONTF = /z/hr/ffiles2

HDRS =	$(HDRPTH)/all.h \
	graph2.h

JLIB = ../jlib/lib.j

.c.o: 
	cc -c -I$(HDRPTH) $<
.a.o:
	$(AS) -u -o  $@ $<


#
#	Sources
#
GSRC =	gctrl.c   gpoint.c  gpoly.c   gshape.c  gtext.c    \
	gtext2.c  rgnarc.c  rgnoval.c rgnpoly.c rgnrrect.c \
	rgnfill.c rgnmath.c rgnops.c  gcoord.c  fill.c \
	newline.c glftn.s    copy.c

#
#	Objects
#
GOBJ =	gctrl.o   gpoint.o  gpoly.o   gshape.o   gtext.o   \
	gtext2.o  rgnarc.o  rgnoval.o rgnpoly.o  rgnrrect.o \
	rgnfill.o rgnmath.o rgnops.o  gcoord.o   fill.o \
	newline.o glftn.o    copy.o

#
#	Dependencies
#
#$(GOBJ) : $(HDRS)

obj :	$(GOBJ)

lib.g :	$(GOBJ)
	rm lib.g
	ar q lib.g $(GOBJ)

print :
	pr -n $(HDRS) $(GSRC) | lpr

backup:
	cp Makefile $(GSRC) /usr/src/graph

gmgr:	gmgr.o
	cc -o gmgr gmgr.o $(JLIB) /lib/libm.a

test:	test.o
	cc -o test test.o lib.j lib.g /lib/libm.a

test2:	test2.o
	cc -o test2 test2.o lib.j lib.g /lib/libm.a

test3:	test3.o
	cc -o test3 test3.o lib.j lib.g /lib/libm.a

disk:
	cp Makefile $(GSRC) /f0/graph