home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Programming / Python / Source / Embed / SMAKEFILE < prev    next >
Encoding:
Text File  |  1999-10-19  |  573 b   |  39 lines

  1.  
  2. all: test
  3.  
  4.  
  5. PSRC=PythonSrc:
  6.  
  7.  
  8. CLIBS = PythonSrc:Amiga/amigapythonamitcp.lib LIB:scm881nb.lib LIB:scnb.lib
  9.  
  10.  
  11. LINKOPTS = SC BATCH NOICONS STRIPDEBUG
  12.  
  13. LIBS = $(PSRC)Modules/Modules.lib $(PSRC)Parser/Parser.lib $(PSRC)Python/Python.lib $(PSRC)Objects/Objects.lib $(CLIBS)
  14.  
  15.  
  16. OBJECTS=test.o
  17.  
  18. test: test.o AmigaPythonEmbed.o
  19.     SLINK WITH <<
  20. TO test
  21. FROM lib:c.o
  22. test.o AmigaPythonEmbed.o
  23. $(PSRC)Modules/getbuildinfo.o
  24. LIB $(LIBS)
  25. $(LINKOPTS)
  26. <<
  27.  
  28.  
  29.  
  30. test.o: test.c
  31.     SC NOLINK test.c
  32.  
  33. AmigaPythonEmbed.o: AmigaPythonEmbed.c
  34.     SC NOLINK AmigaPythonEmbed.c
  35.  
  36.  
  37. clean:
  38.     -delete \#?.o test
  39.