aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util-src/makefile')
-rw-r--r--util-src/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/util-src/makefile b/util-src/makefile
index 02bad40a..2df837c7 100644
--- a/util-src/makefile
+++ b/util-src/makefile
@@ -6,7 +6,8 @@ INSTALL_DATA=install -m644
TARGET?=../util/
ALL=encodings.so hashes.so net.so pposix.so signal.so table.so \
- ringbuffer.so time.so poll.so compat.so strbitop.so
+ ringbuffer.so time.so poll.so compat.so strbitop.so \
+ struct.so
.ifdef $(RANDOM)
ALL+=crand.so
@@ -23,6 +24,8 @@ install: $(ALL)
clean:
rm -f $(ALL) $(patsubst %.so,%.o,$(ALL))
+encodings.o: encodings.c
+ $(CC) $(CFLAGS) $(IDNA_FLAGS) -c -o $@ $<
encodings.so: encodings.o
$(LD) $(LDFLAGS) -o $@ $< $(LDLIBS) $(IDNA_LIBS)