Subversion Repositories Kolibri OS

Rev

Rev 9725 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

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