comparison DPF-Prymula-audioplugins/dpf/utils/lv2-ttl-generator/GNUmakefile @ 3:84e66ea83026

DPF-Prymula-audioplugins-0.231015-2
author prymula <prymula76@outlook.com>
date Mon, 16 Oct 2023 21:53:34 +0200
parents
children
comparison
equal deleted inserted replaced
2:cf2cb71d31dd 3:84e66ea83026
1 #!/usr/bin/makefile -f
2
3 include ../../Makefile.base.mk
4
5 all: build
6
7 ifeq ($(WINDOWS),true)
8
9 build: ../lv2_ttl_generator.exe
10
11 ../lv2_ttl_generator.exe: lv2_ttl_generator.c
12 $(CC) $< $(BUILD_C_FLAGS) -o $@ $(LINK_FLAGS) -static
13 touch ../lv2_ttl_generator
14
15 else # WINDOWS
16
17 ifneq ($(HAIKU_OR_MACOS_OR_WINDOWS),true)
18 LINK_FLAGS += -ldl
19 endif
20
21 build: ../lv2_ttl_generator
22
23 ../lv2_ttl_generator: lv2_ttl_generator.c
24 $(CC) $< $(BUILD_C_FLAGS) -o $@ $(LINK_FLAGS)
25
26 endif # WINDOWS
27
28 clean:
29 rm -f ../lv2_ttl_generator ../lv2_ttl_generator.exe