File: Makefile

package info (click to toggle)
fuse-zip 0.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 9,776 kB
  • sloc: cpp: 5,509; sh: 2,587; makefile: 193
file content (23 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PKG_CONFIG?=pkg-config
LIBS=-L../lib -lfusezip $(shell $(PKG_CONFIG) libzip --libs)
CXXFLAGS=-g -O0 -Wall -Wextra -Wlogical-op -Wshadow -pedantic -Werror
ZIPFLAGS=$(shell $(PKG_CONFIG) libzip --cflags)

all: dump-extrafld create-content-size

dump-extrafld: dump-extrafld.cpp $(LIB)
	$(CXX) $(CXXFLAGS) $(ZIPFLAGS) $< \
	    -I.. \
	    $(LDFLAGS) $(LIBS) \
	    -o $@

create-content-size: create-content-size.cpp
	$(CXX) $(CXXFLAGS) $(ZIPFLAGS) $< \
	    -I.. \
	    $(LDFLAGS) $(LIBS) \
	    -o $@

clean:
	rm -f dump-extrafld create-content-size

.PHONY: all clean