mirror of
https://github.com/softwarejanitor/calvados.git
synced 2024-12-11 23:29:11 +00:00
44 lines
1.5 KiB
Makefile
44 lines
1.5 KiB
Makefile
#
|
|
# Makefile for cavaldos. Pretty lame, needs to be improved.
|
|
#
|
|
NAME=calvados
|
|
CFLAGS=-g -Wall -o $(NAME)
|
|
#GTKFLAGS=-export-dynamic `pkg-config --cflags --libs gtk+-2.0`
|
|
GTKFLAGS=`pkg-config --cflags --libs gtk+-2.0`
|
|
SRCS=calvados.c select_volume.c closing_dialog.c close_dialog.c show_about.c \
|
|
disk_sector_viewer_popup.c create_disk_image.c new_archive.c \
|
|
open_file.c okfunc_create_disk_image.c okfunc_select_volume.c \
|
|
help_func_create_disk_image.c help_func_select_volume.c \
|
|
do_open_file.c save_to_file.c preferences.c print.c add_files.c \
|
|
do_new_archive.c create_radio.c acceptfunc_add_files.c \
|
|
help_func_add_files.c extract_files.c extractfunc_extract_files.c \
|
|
help_func_extract_files.c disk_image_converter.c do_image_converter.c \
|
|
do_add_files.c archive_info.c edit_comment.c new_disk_image.c \
|
|
help_func_archive_info.c delete_file.c rename.c select_image_convert.c \
|
|
select_first_sst_image.c recompress_files.c show_error.c file_viewer.c \
|
|
donefunc_file_viewer.c help_func_file_viewer.c add_disk_image.c test.c \
|
|
findfunc_file_viewer.c
|
|
OBJS=$(SRCS:.c=.o)
|
|
HEADERS=calvados.h
|
|
CC=gcc
|
|
DESTDIR=/usr/local
|
|
|
|
INCLUDES=-I/usr/include/glib-2.0/ \
|
|
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ \
|
|
-I/usr/include/pango-1.0/ -I/usr/include/cairo/ \
|
|
-I/usr/include/gdk-pixbuf-2.0/ -I/usr/include/atk-1.0/ \
|
|
-I/usr/include/gtk-unix-print-2.0/
|
|
|
|
all: calvados
|
|
|
|
calvados: $(SRCS) $(HEADERS)
|
|
$(CC) $(CFLAGS) $(SRCS) $(GTKFLAGS) $(INCLUDES)
|
|
|
|
install:
|
|
/usr/bin/install $(NAME) $(DESTDIR)/bin
|
|
/usr/bin/install -D images $(DESTDIR)/images
|
|
|
|
clean:
|
|
/bin/rm -f $(NAME)
|
|
|