File: Makefile

package info (click to toggle)
fpzip 1.3.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308 kB
  • sloc: cpp: 1,461; ansic: 488; makefile: 74
file content (17 lines) | stat: -rw-r--r-- 300 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include ../Config

BINDIR = ../bin
LIBDIR = ../lib
TARGET = $(BINDIR)/testfpzip

all: $(TARGET)

$(TARGET): testfpzip.c ../lib/$(LIBFPZIP)
	mkdir -p ../bin
	$(CC) $(CFLAGS) testfpzip.c -L$(LIBDIR) -lfpzip -lstdc++ -o $(TARGET)

test: $(BINDIR)/testfpzip
	$(BINDIR)/testfpzip

clean:
	rm -f $(TARGET)