From 80e70f36e938c42a9d3a4fd771c56454da4efb0e Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 3 Aug 2006 13:45:47 +0000 Subject: [PATCH] Uncapitalized executable name --- src/Makefile | 20 ++++++++++---------- src/project.conf | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Makefile b/src/Makefile index 60d9665..7174074 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,4 @@ -TARGETS = Editor +TARGETS = editor PREFIX = /usr/local DESTDIR = BINDIR = $(PREFIX)/bin @@ -14,28 +14,28 @@ INSTALL = install all: $(TARGETS) -Editor_OBJS = editor.o main.o -Editor_CFLAGS = $(CFLAGSF) $(CFLAGS) -Editor: $(Editor_OBJS) - $(CC) $(LDFLAGSF) $(LDFLAGS) -o Editor $(Editor_OBJS) +editor_OBJS = editor.o main.o +editor_CFLAGS = $(CFLAGSF) $(CFLAGS) +editor: $(editor_OBJS) + $(CC) $(LDFLAGSF) $(LDFLAGS) -o editor $(editor_OBJS) editor.o: editor.c - $(CC) $(Editor_CFLAGS) -c editor.c + $(CC) $(editor_CFLAGS) -c editor.c main.o: main.c - $(CC) $(Editor_CFLAGS) -c main.c + $(CC) $(editor_CFLAGS) -c main.c clean: - $(RM) $(Editor_OBJS) + $(RM) $(editor_OBJS) distclean: clean $(RM) $(TARGETS) install: all $(MKDIR) $(DESTDIR)$(BINDIR) - $(INSTALL) -m 0755 Editor $(DESTDIR)$(BINDIR)/Editor + $(INSTALL) -m 0755 editor $(DESTDIR)$(BINDIR)/editor uninstall: - $(RM) $(DESTDIR)$(BINDIR)/Editor + $(RM) $(DESTDIR)$(BINDIR)/editor .PHONY: all clean distclean install uninstall diff --git a/src/project.conf b/src/project.conf index 348baee..c6cf76b 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,8 +1,8 @@ -targets=Editor +targets=editor cflags_force=-W `pkg-config --cflags gtk+-2.0` cflags=-Wall -g -O2 ldflags_force=`pkg-config --libs gtk+-2.0` -[Editor] +[editor] type=binary sources=editor.c,main.c