home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 May / W2KPRK.iso / apps / posix / source / EXAMPLES / LD.MK < prev    next >
Makefile  |  1999-11-17  |  229b  |  11 lines

  1. SDK = //C/nt/public/sdk
  2. INC = $(SDK)/inc
  3. CCFLAGS = $(CFLAGS) -I $(INC)/posix -I $(INC)/crt
  4. LDFLAGS = -L $(SDK)/lib/i386
  5.  
  6. test: test.o test.a
  7.     ld -o test $(LDFLAGS) test.o test.a
  8.  
  9. test.o: test.c
  10.     cc -c $(CCFLAGS) test.c
  11.