Subversion Repositories Kolibri OS

Rev

Rev 9204 | Rev 9242 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. KTCC=kos32-tcc
  2. FASM= fasm
  3. KPACK = kpack
  4. CFLAGS = -I../include -I../../../../../../contrib/sdk/sources/SDL-1.2.2_newlib/include
  5. LDFLAGS = -nostdlib -L../../bin/lib ../../bin/lib/crt0.o
  6.  
  7. BIN= stdio_test.kex \
  8. basic_gui.kex \
  9. http_tcp_demo.kex \
  10. math_test.kex \
  11. string_test.kex \
  12. whois.kex  \
  13. file_io.kex \
  14. tmpdisk_work.kex \
  15. consoleio.kex \
  16. assert_test.kex \
  17. fasm/sprintf_test.kex \
  18. clayer/rasterworks.kex \
  19. clayer/libimg.kex \
  20. clayer/dialog.kex \
  21. clayer/msgbox.kex \
  22. clayer/boxlib.kex \
  23. thread_work.kex \
  24. sdltest.kex \
  25. shell_test.kex
  26.  
  27. LIBS= -lSDL -lshell -ltcc -lsound -ldialog -lrasterworks -limg -lbox -lmsgbox -lnetwork -lc.obj
  28.  
  29. all: $(BIN)
  30.        
  31. %.kex : %.c
  32.         $(KTCC) $(CFLAGS) $(LDFLAGS)  $< -o $@ $(LIBS)
  33.         $(KPACK) --nologo $@
  34.        
  35. %.kex : %.asm
  36.         $(FASM) $< $@
  37.         $(KPACK) --nologo $@
  38.  
  39. clean:
  40.         rm *.kex clayer/*.kex
  41.