blob: 731b5b0c3a8cafb55aa5208fe4a229fd6a8aec8c (
plain)
1 CC = cc
2 CCOPTS = -Wall -std=gnu99
3 out = upwgen
4 PREFIX = /usr/bin
5
6 all:
7 @if [ ! -d obj ]; then mkdir obj; fi
8 $(CC) $(CCOPTS) -c src/i18n_cat.c -o obj/i18n_cat.o
9 $(CC) $(CCOPTS) src/main.c obj/*.o -o $(out)
10
11 install:
12 mkdir -p $(DESTDIR)/$(PREFIX)
13 cp $(out) $(DESTDIR)/$(PREFIX)/$(out)
|