aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-10-30 15:32:33 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2021-10-30 15:32:33 +0200
commited38dc013434e1711087964169b6f99ffec4f0c1 (patch)
treeaaceace03e8b6a52d5520fd002beb8687ea4dce9
parent56e9186a90de84ea3108f95a1040c968b6f5d8aa (diff)
downloadmessenger-gtk-ed38dc013434e1711087964169b6f99ffec4f0c1.tar.gz
messenger-gtk-ed38dc013434e1711087964169b6f99ffec4f0c1.zip
Updated variables in makefile
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index f3af4a5..113d506 100644
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,9 @@ HEADERS =
12LIBRARIES = gnunetutil gnunetchat 12LIBRARIES = gnunetutil gnunetchat
13PACKAGES = libhandy-1 gtk+-3.0 libnotify 13PACKAGES = libhandy-1 gtk+-3.0 libnotify
14 14
15CC ?= gcc 15GNU_CC ?= gcc
16LD ?= gcc 16GNU_LD ?= gcc
17RM ?= rm 17GNU_RM ?= rm
18 18
19CFLAGS += -pedantic -Wall -Wextra -march=native -ggdb3 19CFLAGS += -pedantic -Wall -Wextra -march=native -ggdb3
20LDFLAGS += 20LDFLAGS +=
@@ -37,10 +37,10 @@ release: CFLAGS += $(RELEASEFLAGS)
37release: $(BINARY) 37release: $(BINARY)
38 38
39%.o: %.c 39%.o: %.c
40 $(CC) $(CFLAGS) -c $< -o $@ $(LIBRARY_FLAGS) $(PACKAGE_FLAGS) 40 $(GNU_CC) $(CFLAGS) -c $< -o $@ $(LIBRARY_FLAGS) $(PACKAGE_FLAGS)
41 41
42$(BINARY): $(OBJECT_FILES) 42$(BINARY): $(OBJECT_FILES)
43 $(LD) $(LDFLAGS) $^ -o $@ $(LIBRARY_FLAGS) $(PACKAGE_FLAGS) 43 $(GNU_LD) $(LDFLAGS) $^ -o $@ $(LIBRARY_FLAGS) $(PACKAGE_FLAGS)
44 44
45.PHONY: install 45.PHONY: install
46 46
@@ -50,10 +50,10 @@ install:
50.PHONY: uninstall 50.PHONY: uninstall
51 51
52uninstall: 52uninstall:
53 $(RM) -f $(addsuffix $(BINARY), $(addprefix $(INSTALL_DIR), bin/)) 53 $(GNU_RM) -f $(addsuffix $(BINARY), $(addprefix $(INSTALL_DIR), bin/))
54 54
55.PHONY: clean 55.PHONY: clean
56 56
57clean: 57clean:
58 $(RM) -f $(BINARY) 58 $(GNU_RM) -f $(BINARY)
59 $(RM) -f $(OBJECT_FILES) 59 $(GNU_RM) -f $(OBJECT_FILES)