summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5ff1e25..731b5b0 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,9 @@ out = upwgen
PREFIX = /usr/bin
all:
- $(CC) $(CCOPTS) src/main.c -o $(out)
+ @if [ ! -d obj ]; then mkdir obj; fi
+ $(CC) $(CCOPTS) -c src/i18n_cat.c -o obj/i18n_cat.o
+ $(CC) $(CCOPTS) src/main.c obj/*.o -o $(out)
install:
mkdir -p $(DESTDIR)/$(PREFIX)

Generated by cgit