mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added optimization and debug target
SVN revision: 989
This commit is contained in:
parent
b6414381b9
commit
62e6810435
6
Makefile
6
Makefile
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user