source: trunk/dports/games/digger/files/patch-Makefile.sdl.diff @ 82718

Last change on this file since 82718 was 82718, checked in by ryandesign@…, 6 years ago

digger:

  • use app portgroup
  • ensure we're UsingTheRightCompiler and build arch
  • add universal variant
  • patch the existing Makefile.sdl rather than have our own separate copy
  • Property svn:eol-style set to native
File size: 645 bytes
  • Makefile.sdl

    old new  
    44                        newsnd.o ini.o input.o monster.o bags.o alpha.o vgagrafx.o \
    55                        title_gz.o icon.o sdl_kbd.o sdl_vid.o sdl_timer.o sdl_snd.o
    66
    7 ARCH    = "LINUX"
     7ARCH    = "DARWIN"
     8#ARCH   = "LINUX"
    89#ARCH   = "MINGW"
    910#ARCH   = "FREEBSD"
    1011#ARCH   = "FooOS"
     
    1516ESUFFIX =  .exe
    1617endif
    1718
     19ifeq ($(ARCH),"DARWIN")
     20OBJS   += fbsd_sup.o
     21CFLAGS += -DDARWIN `sdl-config --cflags`
     22LIBS   += `sdl-config --libs` -lz -lobjc
     23endif
     24
    1825ifeq ($(ARCH),"FREEBSD")
    1926OBJS    += fbsd_sup.o   # strup()
    2027CFLAGS  += -DFREEBSD `sdl-config --cflags`
Note: See TracBrowser for help on using the repository browser.