Stefan Schuermans commited on 2011-12-14 22:12:52
Showing 1 changed files, with 6 additions and 6 deletions.
... | ... |
@@ -24,7 +24,7 @@ VERSION := $(VER_MAJ).$(VER_MIN).$(VER_REV) |
24 | 24 |
SRCS := $(wildcard src/*.c) |
25 | 25 |
EX_SRCS := $(wildcard examples/src/*.c) |
26 | 26 |
|
27 |
-CFLAGS := -W -Wall -O3 |
|
27 |
+CFLAGS := -W -Wall -O3 -g2 |
|
28 | 28 |
DEFINES := -DFLP_VER_MAJ=$(VER_MAJ) -DFLP_VER_MIN=$(VER_MIN) \ |
29 | 29 |
-DFLP_VER_REV=$(VER_REV) |
30 | 30 |
INCLUDES := -Iinclude |
... | ... |
@@ -142,13 +142,13 @@ $(SH_TARGET): $(OBJS) | lib |
142 | 142 |
$(CC) $(SH_LDFLAGS) -o $@ $+ $(SH_LIBS) |
143 | 143 |
ifeq ($(OS),linux) |
144 | 144 |
cd $(dir $@); \ |
145 |
- ln -s $(notdir $@) \ |
|
145 |
+ ln -sf $(notdir $@) \ |
|
146 | 146 |
$(patsubst %.$(VER_REV),%,$(notdir $@)) |
147 | 147 |
cd $(dir $@); \ |
148 |
- ln -s $(patsubst %.$(VER_REV),%,$(notdir $@)) \ |
|
148 |
+ ln -sf $(patsubst %.$(VER_REV),%,$(notdir $@)) \ |
|
149 | 149 |
$(patsubst %.$(VER_MIN).$(VER_REV),%,$(notdir $@)) |
150 | 150 |
cd $(dir $@); \ |
151 |
- ln -s $(patsubst %.$(VER_MIN).(VER_REV),%,$(notdir $@)) \ |
|
151 |
+ ln -sf $(patsubst %.$(VER_MIN).(VER_REV),%,$(notdir $@)) \ |
|
152 | 152 |
$(patsubst %.$(VER_MAJ).$(VER_MIN).$(VER_REV),%,$(notdir $@)) |
153 | 153 |
endif |
154 | 154 |
|
... | ... |
@@ -162,9 +162,9 @@ install: all |
162 | 162 |
$(INSTALL) -d $(PREFIX)/lib |
163 | 163 |
$(INSTALL) -m 644 -t $(PREFIX)/lib $(TARGET) $(SH_TARGET) |
164 | 164 |
ifeq ($(OS),linux) |
165 |
- ln -s $(LIBTARGET).$(LEXT).$(VER_MAJ).$(VER_MIN).$(VER_REV) \ |
|
165 |
+ ln -sf $(LIBTARGET).$(LEXT).$(VER_MAJ).$(VER_MIN).$(VER_REV) \ |
|
166 | 166 |
$(PREFIX)/lib/$(LIBTARGET).$(LEXT).$(VER_MAJ).$(VER_MIN) |
167 |
- ln -s $(LIBTARGET).$(LEXT).$(VER_MAJ).$(VER_MIN) \ |
|
167 |
+ ln -sf $(LIBTARGET).$(LEXT).$(VER_MAJ).$(VER_MIN) \ |
|
168 | 168 |
$(PREFIX)/lib/$(LIBTARGET).$(LEXT).$(VER_MAJ) |
169 | 169 |
endif |
170 | 170 |
|
171 | 171 |