summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorElias Norberg <xyzzy@kudzu.se>2013-01-29 23:24:36 +0100
committerElias Norberg <xyzzy@kudzu.se>2013-01-29 23:24:36 +0100
commit92cfc427eb25fbc678d90ecfd2ee87157c5bad39 (patch)
tree4d0443f54bdb25d2827e16e14939e1ed86678bc2 /src/Makefile
parent604bc1ec8e04043a1879322b791e92a8742e7b6b (diff)
downloaddwb-92cfc427eb25fbc678d90ecfd2ee87157c5bad39.zip
Move mktlds-header to util-directory, build util before src
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/Makefile b/src/Makefile
index 74a0dd31..31befa0c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,13 +13,13 @@ $(TARGET): $(OBJ)
-include $(OBJ:.o=.d)
-include $(DOBJ:.do=.dd)
-%.o: %.c %.h config.h dwb.h tlds.h
+%.o: %.c %.h config.h dwb.h
@echo "${CC} $<"
@$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
debug: $(DTARGET)
-deps.d: %.c %.h tlds.h
+deps.d: %.c %.h
@echo "$(CC) -MM $@"
@$(CC) $(CFLAGS) -MM $< -o $@
@@ -32,14 +32,6 @@ $(DTARGET): $(DOBJ)
@echo "$(CC) $@"
@$(CC) $(DOBJ) -o $(DTARGET) $(LDFLAGS)
-tlds.h: tlds.in ../tools/mktlds-header
- @echo gen tlds.h
- @../tools/mktlds-header < tlds.in > tlds.h
-
-domain.o: tlds.h
-
-domain.do: tlds.h
-
dependencies: $(DEPS)
deps: