diff options
| author | xantares <xantares09@hotmail.com> | 2015-03-03 08:49:31 +0100 |
|---|---|---|
| committer | xantares <xantares09@hotmail.com> | 2015-03-03 08:49:31 +0100 |
| commit | f869380a1f31f974100930e697366e160980f28e (patch) | |
| tree | 71fc162ba04240edec38ffe3f3e6ad13ee4f9cf2 | |
| parent | 6a6ebd39e522922aa493552961d4b599f1e83805 (diff) | |
| download | dlfcn-win32-f869380a1f31f974100930e697366e160980f28e.tar.gz dlfcn-win32-f869380a1f31f974100930e697366e160980f28e.tar.bz2 dlfcn-win32-f869380a1f31f974100930e697366e160980f28e.zip | |
add CFLAGS
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -2,6 +2,7 @@ | |||
| 2 | # dlfcn-win32 Makefile | 2 | # dlfcn-win32 Makefile |
| 3 | # | 3 | # |
| 4 | include config.mak | 4 | include config.mak |
| 5 | CFLAGS=-Wall -O3 -fomit-frame-pointer | ||
| 5 | 6 | ||
| 6 | ifeq ($(BUILD_SHARED),yes) | 7 | ifeq ($(BUILD_SHARED),yes) |
| 7 | TARGETS += libdl.dll libdl.dll.a | 8 | TARGETS += libdl.dll libdl.dll.a |
| @@ -24,7 +25,7 @@ HEADERS := dlfcn.h | |||
| 24 | all: $(TARGETS) | 25 | all: $(TARGETS) |
| 25 | 26 | ||
| 26 | %.o: %.c | 27 | %.o: %.c |
| 27 | $(CC) -o $@ -c $< -Wall -O3 -fomit-frame-pointer | 28 | $(CC) -o $@ -c $< $(CFLAGS) |
| 28 | 29 | ||
| 29 | libdl.a: $(LIB_OBJS) | 30 | libdl.a: $(LIB_OBJS) |
| 30 | $(AR) cru $@ $^ | 31 | $(AR) cru $@ $^ |
