home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-11-28 | 2.7 KB | 99 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 libpc.a
- #
-
- ENDOFLIST =
-
- CFLAGS = -O2
-
- OBJS = \
- $(ODIR)/gppconio.o \
- $(ODIR)/sound.o \
- $(ODIR)/coninit.o \
- $(ODIR)/inportb.o \
- $(ODIR)/inportl.o \
- $(ODIR)/inportsb.o \
- $(ODIR)/inportsl.o \
- $(ODIR)/inportsw.o \
- $(ODIR)/inportw.o \
- $(ODIR)/outportb.o \
- $(ODIR)/outportl.o \
- $(ODIR)/outportw.o \
- $(ODIR)/outprtsb.o \
- $(ODIR)/outprtsl.o \
- $(ODIR)/outprtsw.o \
- $(ODIR)/screen.o \
- $(ENDOFLIST)
-
- ../../lib/libpc$(PS).a : $(ODIR) $(OBJS)
- -rm $@
- ar rs $@ $(ODIR)/*.o
-
- $(ODIR) :
- md $(ODIR)
-
- $(ODIR)/gppconio.o : src/gppconio.c
- gcc $(PG) $(CFLAGS) -c src/gppconio.c -o $(ODIR)/gppconio.o
-
- $(ODIR)/sound.o : src/sound.c
- gcc $(PG) $(CFLAGS) -c src/sound.c -o $(ODIR)/sound.o
-
- $(ODIR)/coninit.o : src/coninit.cc
- gcc $(PG) $(CFLAGS) -c src/coninit.cc -o $(ODIR)/coninit.o
-
- $(ODIR)/inportb.o : src/inportb.s
- gcc $(PG) $(CFLAGS) -c src/inportb.s -o $(ODIR)/inportb.o
-
- $(ODIR)/inportl.o : src/inportl.s
- gcc $(PG) $(CFLAGS) -c src/inportl.s -o $(ODIR)/inportl.o
-
- $(ODIR)/inportsb.o : src/inportsb.s
- gcc $(PG) $(CFLAGS) -c src/inportsb.s -o $(ODIR)/inportsb.o
-
- $(ODIR)/inportsl.o : src/inportsl.s
- gcc $(PG) $(CFLAGS) -c src/inportsl.s -o $(ODIR)/inportsl.o
-
- $(ODIR)/inportsw.o : src/inportsw.s
- gcc $(PG) $(CFLAGS) -c src/inportsw.s -o $(ODIR)/inportsw.o
-
- $(ODIR)/inportw.o : src/inportw.s
- gcc $(PG) $(CFLAGS) -c src/inportw.s -o $(ODIR)/inportw.o
-
- $(ODIR)/outportb.o : src/outportb.s
- gcc $(PG) $(CFLAGS) -c src/outportb.s -o $(ODIR)/outportb.o
-
- $(ODIR)/outportl.o : src/outportl.s
- gcc $(PG) $(CFLAGS) -c src/outportl.s -o $(ODIR)/outportl.o
-
- $(ODIR)/outportw.o : src/outportw.s
- gcc $(PG) $(CFLAGS) -c src/outportw.s -o $(ODIR)/outportw.o
-
- $(ODIR)/outprtsb.o : src/outprtsb.s
- gcc $(PG) $(CFLAGS) -c src/outprtsb.s -o $(ODIR)/outprtsb.o
-
- $(ODIR)/outprtsl.o : src/outprtsl.s
- gcc $(PG) $(CFLAGS) -c src/outprtsl.s -o $(ODIR)/outprtsl.o
-
- $(ODIR)/outprtsw.o : src/outprtsw.s
- gcc $(PG) $(CFLAGS) -c src/outprtsw.s -o $(ODIR)/outprtsw.o
-
- $(ODIR)/screen.o : src/screen.s
- gcc $(PG) $(CFLAGS) -c src/screen.s -o $(ODIR)/screen.o
-
-
-