bdf2c/Makefile

52 lines
1.1 KiB
Makefile
Raw Normal View History

2009-01-23 10:17:49 +00:00
#
# @file Makefile bdf2c
#
# Copyright (c) 2009 by Johns. All Rights Reserved.
#
# Contributor(s):
#
# License: AGPLv3
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License.
#
# 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 Affero General Public License for more details.
#
2009-02-16 10:53:33 +00:00
# $Id$
2009-01-23 10:17:49 +00:00
CC = gcc
LIBS =
CFLAGS = -Os -Werror -W -Wall
LDFLAGS =
OBJS = bdf2c.o
HDRS =
MISC = font.h Makefile agpl-3.0.txt readme.txt
all: bdf2c
$(OBJS): $(HDRS)
utv: $(OBJS)
$(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LIBS)
clean:
-rm *.o *~
#----------------------------------------------------------------------------
# Developer tools
indent:
for i in $(OBJS:.o=.c) $(HDRS); do \
indent $$i; unexpand -a $$i > $$i.up; mv $$i.up $$i; \
done
commit:
2009-01-23 10:18:59 +00:00
git commit $(OBJS:.o=.c) $(HDRS) $(MISC)
2009-01-23 10:17:49 +00:00