mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
new make process
This commit is contained in:
parent
8aa48f7609
commit
8d68d58459
@ -8,9 +8,14 @@
|
||||
|
||||
CC := gcc
|
||||
INCLUDE := -I/usr/local/include
|
||||
CFLAGS := -g
|
||||
|
||||
prefix := /usr/local
|
||||
bindir := $(prefix)/bin
|
||||
DESTDIR :=
|
||||
|
||||
zint: main.c
|
||||
$(CC) $(INCLUDE) -g main.c -o zint -lzint
|
||||
$(CC) $(INCLUDE) $(CFLAGS) -I../backend -L../backend main.c -o zint -lzint
|
||||
|
||||
.PHONY: install uninstall clean dist
|
||||
|
||||
@ -18,7 +23,7 @@ clean:
|
||||
rm -f zint *.o *.a *~ *.png *.eps
|
||||
|
||||
install:
|
||||
mv zint /usr/local/bin
|
||||
install -D -p zint $(DESTDIR)$(bindir)/zint
|
||||
|
||||
uninstall:
|
||||
rm /usr/local/bin/zint
|
||||
rm $(DESTDIR)$(bindir)/zint
|
||||
|
Loading…
Reference in New Issue
Block a user