summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorStefan Bolte <sbolte@lavabit.com>2013-05-18 02:40:01 +0200
committerStefan Bolte <sbolte@lavabit.com>2013-05-18 02:40:01 +0200
commit56fc1e87ee8493b69701bf2fb1c4b7b462d32c5f (patch)
tree1cdaa2408058dd76e8a2bcecc8334d87c2b9bc90 /src/Makefile
parent8ae273486fddbb251a69ec6feff597fa87a9ba7e (diff)
downloaddwb-56fc1e87ee8493b69701bf2fb1c4b7b462d32c5f.zip
dwbem: Adding --archive-pack/--archive-unpack
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index 56185f26..d6c6bb0f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,25 +5,25 @@ BASEDIR=..
include $(BASEDIR)/config.mk
include config.mk
-CFLAGS+=-I$(BASEDIR)/$(EXARDIR)
+CFLAGS+=-I$(BASEDIR)/$(DWB_LIB_DIRS)
DEPS=$(patsubst %.o, %.d, $(OBJ))
-OBJ += $(BASEDIR)/exar/exar.o
+OBJ += $(BASEDIR)/$(OBJLIB)
DOBJ += $(BASEDIR)/exar/exar.do
all: $(TARGET)
$(TARGET): $(OBJ)
- @echo "$(CC) $@"
+ @echo $(CC) -o $@
@$(CC) $(OBJ) -o $(TARGET) $(LDFLAGS)
-include $(OBJ:.o=.d)
-include $(DOBJ:.do=.dd)
%.o: %.c %.h config.h dwb.h
- @echo "${CC} $<"
+ @echo $(CC) $<
@$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
debug: $(DTARGET)