summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
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)