mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-27 13:34:19 -04:00
Re-adjustment of Makefiles
This commit is contained in:
parent
63dda2c5a4
commit
7c9dee39e6
4 changed files with 4 additions and 89 deletions
|
@ -9,10 +9,10 @@
|
|||
ZINT_VERSION:=-DZINT_VERSION=\"2.3.1\"
|
||||
|
||||
CC := gcc
|
||||
INCLUDE := -I/usr/local/include
|
||||
INCLUDE := -I/usr/include
|
||||
CFLAGS := -g
|
||||
|
||||
prefix := /usr/local
|
||||
prefix := /usr
|
||||
bindir := $(prefix)/bin
|
||||
DESTDIR :=
|
||||
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
# Linux makefile for zint - requires libzint
|
||||
#
|
||||
# make compiles zint
|
||||
# make install copies binary to /usr/bin
|
||||
# make uninstall removes the binary
|
||||
# make clean cleans up a previous compilation and any object or editor files
|
||||
#
|
||||
|
||||
ZINT_VERSION:=-DZINT_VERSION=\"2.3.1\"
|
||||
|
||||
CC := gcc
|
||||
INCLUDE := -I/usr/include
|
||||
CFLAGS := -g
|
||||
|
||||
prefix := /usr
|
||||
bindir := $(prefix)/bin
|
||||
DESTDIR :=
|
||||
|
||||
zint: main.c
|
||||
$(CC) -Wall $(INCLUDE) $(CFLAGS) $(ZINT_VERSION) -I../backend -L../backend main.c -o zint -lzint
|
||||
|
||||
.PHONY: install uninstall clean dist
|
||||
|
||||
clean:
|
||||
rm -f zint *.o *.a *~ *.png *.eps *.svg *.log
|
||||
|
||||
install:
|
||||
install -D -p zint $(DESTDIR)$(bindir)/zint
|
||||
|
||||
uninstall:
|
||||
rm $(DESTDIR)$(bindir)/zint
|
Loading…
Add table
Add a link
Reference in a new issue