aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2022-11-10 22:09:09 +0200
committerIgor Pashev <pashev.igor@gmail.com>2022-11-10 22:09:09 +0200
commitd7253fa18a9a459b7ddfc342741cc48c0d29a220 (patch)
tree34be1f16b2a2457d7b90b34fe1c528eea88f22cb
parentaa61d28eab8d7402912a2d3bc0334e092808b520 (diff)
downloadgimp-plugin-img-d7253fa18a9a459b7ddfc342741cc48c0d29a220.tar.gz
Fix build
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0b615b9..c7b84eb 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ GIMPTOOL = gimptool-2.0
CC = gcc
LD = gcc
CFLAGS = $(shell $(GIMPTOOL) --cflags) \
- -O2 -ansi -pedantic -Wall -Wextra -Wno-attributes \
+ -O2 -Wall -Wextra -Wno-attributes \
-Wno-unused-parameter \
#-save-temps -g
@@ -44,7 +44,7 @@ clean:
rm -f *.o *.i *.s $(MAIN)
$(MAIN): $(OBJ)
- $(LD) $(LDFLAGS) $(OBJ) -o $@
+ $(LD) $(OBJ) $(LDFLAGS) -o $@
%.o: %.c $(HDR) Makefile
$(CC) -c $(CFLAGS) $< -o $@