home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / palmos / pippy-0.6beta-src.tar.gz / pippy-0.6beta-src.tar / pippy-0.6beta-src / src / Palm / PalmGlue / Makefile < prev    next >
Makefile  |  2001-01-08  |  637b  |  33 lines

  1. srcdir=        ..
  2. VPATH=        ..
  3. CC=        m68k-palmos-coff-gcc
  4. AR=        m68k-palmos-coff-ar
  5. RANLIB=        m68k-palmos-coff-ranlib
  6. DEFS=        -DHAVE_CONFIG_H
  7. VERSION=    1.5
  8.  
  9. LIBRARY=    libpython$(VERSION).a
  10. LDLIBRARY=      libpython$(VERSION).a
  11. PALM_CFLAGS=    -fno-builtin -Wall -I.. -I../libc/include -I../../Include
  12.  
  13. INCLDIR=    ../Include
  14. OPT=    -g -O2
  15. CFLAGS=    $(OPT) -I$(INCLDIR) -I. $(PALM_CFLAGS) $(DEFS)
  16.  
  17. OTHER =  frozen_importer.o python_utils.o
  18. OBJS = palmglue.o
  19.  
  20. all: $(OBJS) $(OTHER)
  21.     $(AR) cr $(LIBRARY) palmglue.o
  22.     $(RANLIB) $(LIBRARY)
  23.  
  24. palmglue.o: palmglue.c
  25.  
  26. add2lib: $(OBJS)
  27.     $(AR) cr $(LIBRARY) $(OBJS)
  28.     touch add2lib
  29.  
  30. clean:
  31.     rm -f $(OBJS) add2lib $(OTHER)
  32.  
  33.