summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-03-21 16:57:12 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-03-21 16:57:12 +0100
commit031cf5e8ffd0511c1d69a41da295ab6bb017bc1d (patch)
treea1e909a0c683e2ab1d684d61a7664111d3632302 /src/Makefile
parentb3c405408fb7abaad6039b65d86ef701b12c9f0a (diff)
Remove autoconf (from branch 'autocruft')
Use config.mk for configuration, both GNU make and FreeBSD make are supported.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile84
1 files changed, 84 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..5fdc498
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,84 @@
+include ../config.mk
+
+OBJECTS = collage.o events.o feh_png.o filelist.o getopt.o getopt1.o imlib.o \
+ index.o ipc.o keyevents.o list.o main.o md5.o menu.o multiwindow.o \
+ options.o slideshow.o support.o thumbnail.o timers.o utils.o winwidget.o
+
+feh: $(OBJECTS)
+ $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
+
+
+
+.c.o:
+ $(CC) $(CFLAGS) -c $<
+
+collage.o: collage.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h winwidget.h filelist.h options.h
+
+events.o: events.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h filelist.h winwidget.h timers.h options.h \
+ events.h thumbnail.h
+
+feh_png.o: feh_png.c feh_png.h feh.h getopt.h structs.h menu.h \
+ ipc.h utils.h debug.h
+
+filelist.o: filelist.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h filelist.h options.h
+
+getopt.o: getopt.c
+
+getopt1.o: getopt1.c getopt.h
+
+imlib.o: imlib.c feh.h getopt.h structs.h menu.h ipc.h utils.h \
+ debug.h filelist.h winwidget.h options.h
+
+index.o: index.c feh.h getopt.h structs.h menu.h ipc.h utils.h \
+ debug.h filelist.h winwidget.h options.h
+
+ipc.o: ipc.c feh.h getopt.h structs.h menu.h ipc.h utils.h \
+ debug.h options.h
+
+keyevents.o: keyevents.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h thumbnail.h filelist.h winwidget.h options.h
+
+list.o: list.c feh.h getopt.h structs.h menu.h ipc.h utils.h \
+ debug.h filelist.h options.h
+
+main.o: main.c feh.h getopt.h structs.h menu.h ipc.h utils.h \
+ debug.h filelist.h winwidget.h timers.h options.h events.h \
+ support.h
+
+md5.o: md5.c md5.h
+
+menu.o: menu.c feh.h getopt.h structs.h menu.h ipc.h utils.h \
+ debug.h support.h thumbnail.h filelist.h winwidget.h options.h
+
+multiwindow.o: multiwindow.c feh.h getopt.h structs.h menu.h \
+ ipc.h utils.h debug.h winwidget.h timers.h filelist.h options.h
+
+options.o: options.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h filelist.h options.h
+
+slideshow.o: slideshow.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h filelist.h timers.h winwidget.h options.h
+
+support.o: support.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h filelist.h options.h support.h
+
+thumbnail.o: thumbnail.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h filelist.h winwidget.h options.h thumbnail.h \
+ md5.h feh_png.h
+
+timers.o: timers.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h options.h timers.h
+
+utils.o: utils.c feh.h getopt.h structs.h menu.h ipc.h utils.h \
+ debug.h options.h
+
+winwidget.o: winwidget.c feh.h getopt.h structs.h menu.h ipc.h \
+ utils.h debug.h filelist.h winwidget.h options.h
+
+clean:
+ rm -f feh *.o
+
+.PHONY: clean