Группа :: Графика
Пакет: somagic-easycap-tools
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
somagic-easycap-tools-1.0/ 0000755 0000000 0000000 00000000000 12044272310 0015546 5 ustar 00root root 0000000 0000000 somagic-easycap-tools-1.0/Makefile 0000644 0000000 0000000 00000003216 12044272310 0017210 0 ustar 00root root 0000000 0000000 ################################################################################
# Makefile #
# #
# Makefile for somagic-extract-firmware program #
# ##############################################################################
#
# Copyright 2011, 2012 Jeffry Johnston
#
# This file is part of somagic_easycap
# http://code.google.com/p/easycap-somagic-linux/
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
SHELL = /bin/sh
PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man
PROGRAMS = somagic-extract-firmware
MANUALS = man/somagic-extract-firmware.1
CFLAGS = -s -W -Wall
LFLAGS = -lgcrypt
.SUFFIXES:
.SUFFIXES: .c
.PHONY: all
all: $(PROGRAMS)
.c:
$(CC) $(CFLAGS) $< -o $@ $(LFLAGS)
.PHONY: install
install: $(PROGRAMS) $(MANUALS)
mkdir -p $(BINDIR)
install $(PROGRAMS) $(BINDIR)/
mkdir -p $(MANDIR)/man1
install $(MANUALS) $(MANDIR)/man1/
.PHONY: clean
clean:
-rm -f $(PROGRAMS)