Subversion Repositories Kolibri OS

Rev

Rev 9558 | Rev 9725 | 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.  
  5. CFLAGS = -I../include -B../../kx -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 =   stdio_test.kex \
  9.         basic_gui.kex \
  10.         http_tcp_demo.kex \
  11.         math_test.kex \
  12.         string_test.kex \
  13.         whois.kex  \
  14.         file_io.kex \
  15.         tmpdisk_work.kex \
  16.         consoleio.kex \
  17.         assert_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.         libc_test.kex \
  27.         defgen.kex
  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.