home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / gnu / util_src / makefile.min < prev    next >
Encoding:
Makefile  |  1993-07-29  |  620 b   |  34 lines

  1. #
  2. # Makefile for utils
  3. # for use with a unix hosted gcc based cross development system
  4. #
  5. # define CROSSDIR appropriately, and hit make
  6. #
  7. CROSSDIR = /dsrg/bammi/cross-minix
  8. CROSSBIN = $(CROSSDIR)/bin
  9. CROSSLIB = $(CROSSDIR)/lib
  10. CROSSINC = $(CROSSDIR)/include
  11.  
  12. # Host GCC
  13. CC = /usr/local/bin/gcc
  14. # Host include dir
  15. HOSTINC = /usr/include
  16.  
  17. CFLAGS = -O -g -I. -I$(HOSTINC) -I$(CROSSINC) -DCROSSATARI=1 -DMINIX=1\
  18. -DCROSSDIR=\"$(CROSSDIR)\" -DCROSSLIB=\"$(CROSSLIB)\"
  19.  
  20. all: ld
  21.  
  22. #
  23. # the 'regular' linker, produces atari executables
  24. #
  25. ld : ld.o
  26.     $(CC) -o ld ld.o
  27.  
  28. install: ld 
  29.     cp ld $(CROSSLIB)/gcc-ld
  30.  
  31. clean:
  32.     rm -f *.o core
  33.  
  34.