Added optimization and debug target

SVN revision: 989
This commit is contained in:
Stefan Ritt 2004-07-28 12:56:52 +00:00
parent b6414381b9
commit 62e6810435

View File

@ -9,7 +9,8 @@
CC = gcc
LIBS =
CFLAGS = -g -O -W -Wall
CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -W -Wall
DFLAGS = -g -O -W -Wall
IFLAGS = -kr -nut -i3 -l90
EXECS = elog elogd elconv
DESTDIR = /usr/local/bin
@ -33,6 +34,9 @@ endif
all: $(EXECS)
debug: src/elogd.c
$(CC) $(DFLAGS) -o elogd src/elogd.c $(LIBS)
%: src/%.c
$(CC) $(CFLAGS) -o $@ $< $(LIBS)