view DPF-Prymula-audioplugins/dpf/utils/lv2-ttl-generator/GNUmakefile @ 7:bb29f1c89c99

immposiblerush-0.230919-0_PKG
author prymula <prymula76@outlook.com>
date Thu, 01 Feb 2024 21:49:30 +0100
parents 84e66ea83026
children
line wrap: on
line source

#!/usr/bin/makefile -f

include ../../Makefile.base.mk

all: build

ifeq ($(WINDOWS),true)

build: ../lv2_ttl_generator.exe

../lv2_ttl_generator.exe: lv2_ttl_generator.c
	$(CC) $< $(BUILD_C_FLAGS) -o $@ $(LINK_FLAGS) -static
	touch ../lv2_ttl_generator

else # WINDOWS

ifneq ($(HAIKU_OR_MACOS_OR_WINDOWS),true)
LINK_FLAGS += -ldl
endif

build: ../lv2_ttl_generator

../lv2_ttl_generator: lv2_ttl_generator.c
	$(CC) $< $(BUILD_C_FLAGS) -o $@ $(LINK_FLAGS)

endif # WINDOWS

clean:
	rm -f ../lv2_ttl_generator ../lv2_ttl_generator.exe