summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <ovariegata@yahoo.com>2017-08-25 11:04:06 -0700
committerorbea <ovariegata@yahoo.com>2017-08-25 11:50:38 -0700
commit7391cd1fe2d92b705f0089221eaa12bc3fdf7058 (patch)
treea736f0cb7257becabf3be7d4682ef075e5f58324
parent5cf2736a8a7f6b8df8f2793b095f219941a34338 (diff)
(src/Makefile) Manually set the target *.c files
This allows finer control of which files are compiled and additionally will silence some -Wpedantic warnings when "empty" files are compiled.
-rw-r--r--src/Makefile36
1 files changed, 35 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 0e2c543..2f6185a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,40 @@
include ../config.mk
-TARGETS = ${shell echo *.c}
+TARGETS = \
+ collage.c \
+ events.c \
+ feh_png.c \
+ filelist.c \
+ getopt.c \
+ getopt1.c \
+ gib_hash.c \
+ gib_imlib.c \
+ gib_list.c \
+ gib_style.c \
+ imlib.c \
+ index.c \
+ keyevents.c \
+ list.c \
+ main.c \
+ md5.c \
+ menu.c \
+ multiwindow.c \
+ options.c \
+ signals.c \
+ slideshow.c \
+ thumbnail.c \
+ timers.c \
+ utils.c \
+ wallpaper.c \
+ winwidget.c
+
+ifeq (${exif},1)
+ TARGETS += \
+ exif.c \
+ exif_canon.c \
+ exif_nikon.c
+endif
+
OBJECTS = ${TARGETS:.c=.o}
I_SRCS = ${shell echo *.raw}