File: Makefile

package info (click to toggle)
nifticlib 3.0.1-9.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,640 kB
  • sloc: ansic: 31,214; sh: 941; makefile: 460; csh: 138; python: 88; tcl: 42
file content (26 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include ../Makefile

PROJNAME = znzlib

INCFLAGS = $(ZLIB_INC)

SRCS=znzlib.c
OBJS=znzlib.o

depend:
	$(RM) -f depend.mk
	$(MAKE) depend.mk

depend.mk:
	$(CC) $(DEPENDFLAGS) $(INCFLAGS) $(SRCS) >> depend.mk

lib: libznz.a

znzlib.o: znzlib.c znzlib.h
	$(CC) -c $(CFLAGS) $(USEZLIB) $(INCFLAGS) $<

libznz.a: $(OBJS)
	$(AR) -r libznz.a $(OBJS)
	$(RANLIB) $@

include depend.mk