diff options
author | Ben LaHaise <bcrl@kvack.org> | 2002-01-21 18:55:39 +0000 |
---|---|---|
committer | Ben LaHaise <bcrl@kvack.org> | 2002-01-21 18:55:39 +0000 |
commit | bcf3609882747807993d093a9397b10a311a5df6 (patch) | |
tree | 9234113becccf01f0742150b17feaa8856bac332 | |
parent | 7463603ac74c78ec1aec1f19795c722248cd4006 (diff) | |
download | libaio-bcf3609882747807993d093a9397b10a311a5df6.tar.gz |
add -fomit-frame-pointer -O2 to CFLAGS
add dependancies
-rw-r--r-- | src/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index a6a2839..f265d56 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ prefix=usr -CFLAGS=-nostdlib -nostartfiles -Wall -I. -g +CFLAGS=-nostdlib -nostartfiles -Wall -I. -g -fomit-frame-pointer -O2 SO_CFLAGS=-shared $(CFLAGS) L_CFLAGS=$(CFLAGS) LINK_FLAGS=-Llib -lredhat-kernel @@ -21,6 +21,7 @@ libaio_srcs += io_queue_run.c libaio_objs := $(patsubst %.c,%.ol,$(libaio_srcs)) libaio_sobjs := $(patsubst %.c,%.os,$(libaio_srcs)) +$(libaio_objs) $(libaio_sobjs): libaio.h vsys_def.h %.os: %.c $(CC) $(SO_CFLAGS) -c -o $@ $< |