Modifid themakefil for amiga 68k/VBCC. Will need some wok to actually compile, as it's not a posix
compliant platform. I now have to install SDL dev. packages... git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@653 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									bdc7388e77
								
							
						
					
					
						commit
						21bd270e31
					
				
							
								
								
									
										27
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								Makefile
									
									
									
									
									
								
							@ -145,6 +145,28 @@ else
 | 
			
		||||
    ZIP = zip
 | 
			
		||||
  else
 | 
			
		||||
  
 | 
			
		||||
    # Amiga classic
 | 
			
		||||
    
 | 
			
		||||
    $(shell version >PIPE:gfx2ver)
 | 
			
		||||
    AMIGA=$(shell sed -e s/\(Kickstart\).*/\1/g <PIPE:gfx2ver)
 | 
			
		||||
    
 | 
			
		||||
    ifeq ($(AMIGA),Kickstart)
 | 
			
		||||
      DELCOMMAND = Delete -r
 | 
			
		||||
      MKDIR = Makedir
 | 
			
		||||
      RMDIR = Delete
 | 
			
		||||
      CP = copy
 | 
			
		||||
      ZIP = zip
 | 
			
		||||
      PLATFORMFILS = gfx2.png
 | 
			
		||||
      BIN = grafx2
 | 
			
		||||
      CFGBIN = gfxcfg
 | 
			
		||||
      COPT = -c99
 | 
			
		||||
      LOPT =
 | 
			
		||||
      CC = Logiciels:vbcc/bin/vc
 | 
			
		||||
      OBJDIR = obj/Amiga68k
 | 
			
		||||
      # No strip command with vbcc, do some dummy thingsto make Make happy
 | 
			
		||||
      STRIP = echo
 | 
			
		||||
    else
 | 
			
		||||
  
 | 
			
		||||
    # Linux and FreeBSD specific (default rules)
 | 
			
		||||
    DELCOMMAND = rm -rf
 | 
			
		||||
    MKDIR = mkdir -p
 | 
			
		||||
@ -182,8 +204,8 @@ else
 | 
			
		||||
        CFGBIN = gfxcfg
 | 
			
		||||
        COPT = -W -Wall -Wdeclaration-after-statement -pedantic -std=c99 -c -g `sdl-config --cflags` $(TTFCOPT)
 | 
			
		||||
        LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT)
 | 
			
		||||
        CC = gcc
 | 
			
		||||
        #CC = nccgen -ncgcc -ncld -ncfabs #ncc makes callgraphs
 | 
			
		||||
        #CC = gcc
 | 
			
		||||
        CC = $(AMIGA)
 | 
			
		||||
        OBJDIR = obj/unix
 | 
			
		||||
        X11LOPT = -lX11
 | 
			
		||||
      endif
 | 
			
		||||
@ -195,6 +217,7 @@ endif
 | 
			
		||||
endif
 | 
			
		||||
endif
 | 
			
		||||
endif
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
#TrueType is optional: make NOTTF=1 to disable support and dependencies.
 | 
			
		||||
ifeq ($(NOTTF),1)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user