aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxantares <xantares09@hotmail.com>2015-03-03 08:49:31 +0100
committerxantares <xantares09@hotmail.com>2015-03-03 08:49:31 +0100
commitf869380a1f31f974100930e697366e160980f28e (patch)
tree71fc162ba04240edec38ffe3f3e6ad13ee4f9cf2
parent6a6ebd39e522922aa493552961d4b599f1e83805 (diff)
downloaddlfcn-win32-f869380a1f31f974100930e697366e160980f28e.tar.gz
dlfcn-win32-f869380a1f31f974100930e697366e160980f28e.tar.bz2
dlfcn-win32-f869380a1f31f974100930e697366e160980f28e.zip
add CFLAGS
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4d11de8..f40ccf8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
2# dlfcn-win32 Makefile 2# dlfcn-win32 Makefile
3# 3#
4include config.mak 4include config.mak
5CFLAGS=-Wall -O3 -fomit-frame-pointer
5 6
6ifeq ($(BUILD_SHARED),yes) 7ifeq ($(BUILD_SHARED),yes)
7 TARGETS += libdl.dll libdl.dll.a 8 TARGETS += libdl.dll libdl.dll.a
@@ -24,7 +25,7 @@ HEADERS := dlfcn.h
24all: $(TARGETS) 25all: $(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
29libdl.a: $(LIB_OBJS) 30libdl.a: $(LIB_OBJS)
30 $(AR) cru $@ $^ 31 $(AR) cru $@ $^