freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype-demos][gsoc-2024-ahmet] rules added else stateme


From: @goksu
Subject: [Git][freetype/freetype-demos][gsoc-2024-ahmet] rules added else statement
Date: Tue, 20 Aug 2024 14:11:43 +0000

Ahmet Göksu pushed to branch gsoc-2024-ahmet at FreeType / FreeType Demo Programs

Commits:

  • 7148ad43
    by Ahmet Goksu at 2024-08-20T17:10:27+03:00
    rules added else statement
    

1 changed file:

Changes:

  • graph/cocoa/rules.mk
    ... ... @@ -12,13 +12,17 @@ SWIFTFLAGS := -import-objc-header $(GRAPH)/cocoa/grcocoa.h
    12 12
     
    
    13 13
     # Cocoa specific settings
    
    14 14
     ifeq ($(shell uname -s), Darwin)
    
    15
    -  SWIFT_OBJS += $(OBJ_DIR_2)/grcocoa.$(O)
    
    16
    -  FRAMEWORKS = -framework Cocoa
    
    17
    -  LDFLAGS += $(FRAMEWORKS)
    
    18
    -  GRAPH_OBJS += $(SWIFT_OBJS)
    
    15
    +    SWIFT_OBJS += $(OBJ_DIR_2)/grcocoa.$(O)
    
    16
    +    FRAMEWORKS = -framework Cocoa
    
    17
    +    LDFLAGS += $(FRAMEWORKS)
    
    18
    +    GRAPH_OBJS += $(SWIFT_OBJS)
    
    19
    +else
    
    20
    +    @echo "Cocoa is not supported on this platform."
    
    21
    +    @exit 1
    
    19 22
     endif
    
    20 23
     
    
    21 24
     
    
    25
    +
    
    22 26
     $(OBJ_DIR_2)/grcocoa.$(O): $(GRAPH)/cocoa/grcocoa.swift
    
    23 27
     	$(LIBTOOL) --mode=compile $(CC) -c $(GRAPH)/cocoa/grcocoa-dummy.c -o $@
    
    24 28
     	rm -f $(OBJ_DIR_2)/.libs/grcocoa.o
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]