home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-11-28 | 2.0 KB | 79 lines |
- # This file is generated from maketmpl by mm.c
- # This is file Maketmpl
- #
- # Copyright (C) 1993 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
- #
- # This file is distributed under the terms listed in the document
- # "copying.dj", available from DJ Delorie at the address above.
- # A copy of "copying.dj" should accompany this file; if not, a copy
- # should be available from where this file was obtained. This file
- # may not be distributed without a verbatim copy of "copying.dj".
- #
- # This file is distributed WITHOUT ANY WARRANTY; without even the implied
- # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- #
-
- #
- # Makefile for libgr.a
- #
-
- ENDOFLIST =
-
- CFLAGS = -O2
-
- OBJS = \
- $(ODIR)/colors.o \
- $(ODIR)/graphics.o \
- $(ODIR)/line.o \
- $(ODIR)/mouse.o \
- $(ODIR)/text.o \
- $(ODIR)/blit.o \
- $(ODIR)/region.o \
- $(ODIR)/int10.o \
- $(ODIR)/int33.o \
- $(ODIR)/setcolor.o \
- $(ODIR)/setmode.o \
- $(ENDOFLIST)
-
- ../../lib/libgr$(PS).a : $(ODIR) $(OBJS)
- -rm $@
- ar rs $@ $(ODIR)/*.o
-
- $(ODIR) :
- md $(ODIR)
-
- $(ODIR)/colors.o : src/colors.c
- gcc $(PG) $(CFLAGS) -c src/colors.c -o $(ODIR)/colors.o
-
- $(ODIR)/graphics.o : src/graphics.c
- gcc $(PG) $(CFLAGS) -c src/graphics.c -o $(ODIR)/graphics.o
-
- $(ODIR)/line.o : src/line.c
- gcc $(PG) $(CFLAGS) -c src/line.c -o $(ODIR)/line.o
-
- $(ODIR)/mouse.o : src/mouse.c
- gcc $(PG) $(CFLAGS) -c src/mouse.c -o $(ODIR)/mouse.o
-
- $(ODIR)/text.o : src/text.c
- gcc $(PG) $(CFLAGS) -c src/text.c -o $(ODIR)/text.o
-
- $(ODIR)/blit.o : src/blit.cc
- gcc $(PG) $(CFLAGS) -c src/blit.cc -o $(ODIR)/blit.o
-
- $(ODIR)/region.o : src/region.cc
- gcc $(PG) $(CFLAGS) -c src/region.cc -o $(ODIR)/region.o
-
- $(ODIR)/int10.o : src/int10.s
- gcc $(PG) $(CFLAGS) -c src/int10.s -o $(ODIR)/int10.o
-
- $(ODIR)/int33.o : src/int33.s
- gcc $(PG) $(CFLAGS) -c src/int33.s -o $(ODIR)/int33.o
-
- $(ODIR)/setcolor.o : src/setcolor.s
- gcc $(PG) $(CFLAGS) -c src/setcolor.s -o $(ODIR)/setcolor.o
-
- $(ODIR)/setmode.o : src/setmode.s
- gcc $(PG) $(CFLAGS) -c src/setmode.s -o $(ODIR)/setmode.o
-
-
-