home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / libsrc / pc / makefile.n next >
Encoding:
Makefile  |  1993-11-28  |  2.7 KB  |  99 lines

  1. # This file is generated from maketmpl by mm.c
  2. # This is file Maketmpl
  3. #
  4. # Copyright (C) 1993 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  5. #
  6. # This file is distributed under the terms listed in the document
  7. # "copying.dj", available from DJ Delorie at the address above.
  8. # A copy of "copying.dj" should accompany this file; if not, a copy
  9. # should be available from where this file was obtained.  This file
  10. # may not be distributed without a verbatim copy of "copying.dj".
  11. #
  12. # This file is distributed WITHOUT ANY WARRANTY; without even the implied
  13. # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15.  
  16. #
  17. # Makefile for libpc.a
  18. #
  19.  
  20. ENDOFLIST =
  21.  
  22. CFLAGS = -O2
  23.  
  24. OBJS = \
  25.     $(ODIR)/gppconio.o \
  26.     $(ODIR)/sound.o \
  27.     $(ODIR)/coninit.o \
  28.     $(ODIR)/inportb.o \
  29.     $(ODIR)/inportl.o \
  30.     $(ODIR)/inportsb.o \
  31.     $(ODIR)/inportsl.o \
  32.     $(ODIR)/inportsw.o \
  33.     $(ODIR)/inportw.o \
  34.     $(ODIR)/outportb.o \
  35.     $(ODIR)/outportl.o \
  36.     $(ODIR)/outportw.o \
  37.     $(ODIR)/outprtsb.o \
  38.     $(ODIR)/outprtsl.o \
  39.     $(ODIR)/outprtsw.o \
  40.     $(ODIR)/screen.o \
  41.     $(ENDOFLIST)
  42.  
  43. ../../lib/libpc$(PS).a : $(ODIR) $(OBJS)
  44.     -rm $@
  45.     ar rs $@ $(ODIR)/*.o
  46.  
  47. $(ODIR) :
  48.     md $(ODIR)
  49.  
  50. $(ODIR)/gppconio.o : src/gppconio.c
  51.     gcc $(PG) $(CFLAGS) -c src/gppconio.c -o $(ODIR)/gppconio.o
  52.  
  53. $(ODIR)/sound.o : src/sound.c
  54.     gcc $(PG) $(CFLAGS) -c src/sound.c -o $(ODIR)/sound.o
  55.  
  56. $(ODIR)/coninit.o : src/coninit.cc
  57.     gcc $(PG) $(CFLAGS) -c src/coninit.cc -o $(ODIR)/coninit.o
  58.  
  59. $(ODIR)/inportb.o : src/inportb.s
  60.     gcc $(PG) $(CFLAGS) -c src/inportb.s -o $(ODIR)/inportb.o
  61.  
  62. $(ODIR)/inportl.o : src/inportl.s
  63.     gcc $(PG) $(CFLAGS) -c src/inportl.s -o $(ODIR)/inportl.o
  64.  
  65. $(ODIR)/inportsb.o : src/inportsb.s
  66.     gcc $(PG) $(CFLAGS) -c src/inportsb.s -o $(ODIR)/inportsb.o
  67.  
  68. $(ODIR)/inportsl.o : src/inportsl.s
  69.     gcc $(PG) $(CFLAGS) -c src/inportsl.s -o $(ODIR)/inportsl.o
  70.  
  71. $(ODIR)/inportsw.o : src/inportsw.s
  72.     gcc $(PG) $(CFLAGS) -c src/inportsw.s -o $(ODIR)/inportsw.o
  73.  
  74. $(ODIR)/inportw.o : src/inportw.s
  75.     gcc $(PG) $(CFLAGS) -c src/inportw.s -o $(ODIR)/inportw.o
  76.  
  77. $(ODIR)/outportb.o : src/outportb.s
  78.     gcc $(PG) $(CFLAGS) -c src/outportb.s -o $(ODIR)/outportb.o
  79.  
  80. $(ODIR)/outportl.o : src/outportl.s
  81.     gcc $(PG) $(CFLAGS) -c src/outportl.s -o $(ODIR)/outportl.o
  82.  
  83. $(ODIR)/outportw.o : src/outportw.s
  84.     gcc $(PG) $(CFLAGS) -c src/outportw.s -o $(ODIR)/outportw.o
  85.  
  86. $(ODIR)/outprtsb.o : src/outprtsb.s
  87.     gcc $(PG) $(CFLAGS) -c src/outprtsb.s -o $(ODIR)/outprtsb.o
  88.  
  89. $(ODIR)/outprtsl.o : src/outprtsl.s
  90.     gcc $(PG) $(CFLAGS) -c src/outprtsl.s -o $(ODIR)/outprtsl.o
  91.  
  92. $(ODIR)/outprtsw.o : src/outprtsw.s
  93.     gcc $(PG) $(CFLAGS) -c src/outprtsw.s -o $(ODIR)/outprtsw.o
  94.  
  95. $(ODIR)/screen.o : src/screen.s
  96.     gcc $(PG) $(CFLAGS) -c src/screen.s -o $(ODIR)/screen.o
  97.  
  98.  
  99.