home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / cdrom / cdt / source / makefile < prev   
Makefile  |  1995-11-22  |  461b  |  29 lines

  1. #
  2. # makefile to build CDT
  3. #
  4.  
  5. # compiler driver
  6. #
  7. CC        = gcc
  8.  
  9. # default compiler flags
  10. #
  11. CFLAGS        = -O2 -fno-function-cse -fno-force-mem -msmall-code
  12.  
  13. # useful for development (faster compiling since no optimizations)
  14. #
  15. #CFLAGS        = -Dextern=static -D__OPTIMIZE__ -w -msmall-code
  16.  
  17. # linker options (no debug info,no startup, no libraries)
  18. #
  19. LDFLAGS        = -s -nostdlib
  20.  
  21. # which libraries
  22. #
  23. LDLIBS        =
  24.  
  25. # default target
  26. #
  27. CDT:        cdt.o
  28.         $(CC) $(LDFLAGS) -o $@ $? $(LDLIBS)
  29.