diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2022-11-10 15:32:09 +0200 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2022-11-10 15:32:09 +0200 |
commit | 1c5ebd8c41727d61e4d5caded2e06ddb1ecd0e1d (patch) | |
tree | 37404e5e5ebf31c31a251a7fba2180edfb5bef37 /Makefile | |
parent | 6f861c154373811647d792683b78bab5857ff992 (diff) | |
download | gimp-plugin-img-1c5ebd8c41727d61e4d5caded2e06ddb1ecd0e1d.tar.gz |
Update for 2022
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -4,16 +4,10 @@ GIMPTOOL = gimptool-2.0 CC = gcc LD = gcc CFLAGS = $(shell $(GIMPTOOL) --cflags) \ - -O2 -ansi -pedantic -Wall -Wextra -Wno-attributes \ - -Wno-unused-parameter \ - #-save-temps -g + -O2 -Wall -Wextra -Wno-attributes \ + -Wno-unused-parameter -LDFLAGS = $(shell $(GIMPTOOL) --libs) - -INDENT_OPT = -bap -bad -bbb -bl -bli0 -bls \ - -c2 -cli2 -cdb -sc -ncs -npcs \ - -nhnl -i4 -l80 -saf -sai -saw \ - -nprs -sob -nut -nbc -ppi2 -nbbo +LIBS = $(shell $(GIMPTOOL) --libs) SRC = $(wildcard *.c) HDR = $(wildcard *.h) @@ -44,7 +38,7 @@ clean: rm -f *.o *.i *.s $(MAIN) $(MAIN): $(OBJ) - $(LD) $(LDFLAGS) $(OBJ) -o $@ + $(LD) $(OBJ) $(LIBS) -o $@ %.o: %.c $(HDR) Makefile $(CC) -c $(CFLAGS) $< -o $@ |