Commit cf2812ca authored by Yoann Pigné's avatar Yoann Pigné

buggy Makefile

parent 9bd03303
......@@ -7,7 +7,7 @@ CC = g++
CWARN = -W -Wall -Wshadow -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -O
CDBG = -g $(CWARN) -fno-inline
DFLAGS = -I$(INCDIR) -g $(CWARN) -fno-inline -DDEBUG=1
CTAG = ctags
......@@ -33,9 +33,10 @@ $(OUT_BINARY) : $(OBJS)
libtool -o $(OUT_LIBRARY) $(OBJS)
libtool -static -o $(OUT_LIBRARY) $(OBJS)
$(OBJDIR)/%.o: $(SRCDIR)/%.cpp
mkdir -p $(OBJDIR)
$(CC) $(CFLAGS) -c $? -o $@
.PHONY : clean depend fresh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment