diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |