home *** CD-ROM | disk | FTP | other *** search
/ ftp.sberbank.sumy.ua / 2014.11.ftp.sberbank.sumy.ua.tar / ftp.sberbank.sumy.ua / incoming / 1 / Makefile < prev    next >
Makefile  |  2014-02-08  |  864b  |  36 lines

  1. # Wedit Makefile for project Dll
  2. SRCDIR=c:\a_all\copybuffer\dll-04-07-2013
  3. CFLAGS=-I"C:\a_C\lcc\include"  -ansic
  4. CC=$(LCCROOT)\bin\lcc.exe
  5. LINKER=$(LCCROOT)\bin\lcclnk.exe
  6. OBJS=\
  7.     tester.obj
  8.  
  9. LIBS=
  10. EXE=dll.exe
  11.  
  12. $(EXE):    $(OBJS) Makefile
  13.     $(LINKER)  -s -subsystem windows -o $(SRCDIR)\lcc\dll.exe $(OBJS) $(LIBS)
  14.  
  15. # Build tester.c
  16. TESTER_C=\
  17.     c:\a_c\lcc\include\_syslist.h\
  18.     c:\a_c\lcc\include\safelib.h\
  19.     c:\a_c\lcc\include\string.h\
  20.     c:\a_c\lcc\include\safelib.h\
  21.     c:\a_c\lcc\include\win.h\
  22.     c:\a_c\lcc\include\limits.h\
  23.     c:\a_c\lcc\include\stdarg.h\
  24.     c:\a_c\lcc\include\ctype.h\
  25.     c:\a_c\lcc\include\basetsd.h\
  26.     $(SRCDIR)\testerres.h\
  27.  
  28. tester.obj: $(TESTER_C) $(SRCDIR)\tester.c
  29.     $(CC) -c $(CFLAGS) $(SRCDIR)\tester.c
  30.  
  31. link:
  32.     $(LINKER)  -s -subsystem windows -o $(SRCDIR)\lcc\dll.exe $(OBJS) $(LIBS)
  33.  
  34. clean:
  35.     del $(OBJS) dll.exe
  36.