summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2013-05-26 12:14:14 +0200
committerportix <portix@gmx.net>2013-05-26 12:14:14 +0200
commit508d6493bb3c90ef985cc4dce27879766da3455b (patch)
tree98e1ee945f962d66fbb1d458580226b7ad0179d1
parent102ae70c5024222ba09032598211fe413127dc73 (diff)
downloaddwb-508d6493bb3c90ef985cc4dce27879766da3455b.zip
Remove exar/main.c from default build targets
-rw-r--r--exar/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/exar/Makefile b/exar/Makefile
index 41fb73da..c8db4a4b 100644
--- a/exar/Makefile
+++ b/exar/Makefile
@@ -6,10 +6,12 @@ CFLAGS += $(ORIG_CFLAGS)
DCFLAGS += -g -O0 -Wall -pedantic -Werror -Wextra -std=c99
DCFLAGS += $(ORIG_CFLAGS)
-TARGET=exar
-OBJ=$(patsubst %.c, %.o, $(wildcard *.c))
+TARGET = exar
+OBJ = $(patsubst %.c, %.o, $(wildcard *.c))
-all: $(TARGET)
+SHARED_OBJ = exar.o
+
+all: $(SHARED_OBJ)
$(TARGET): $(OBJ)
@echo $(CC) -o $@