File: Makefile

package info (click to toggle)
modutils 2.1.85-11
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,020 kB
  • ctags: 1,024
  • sloc: ansic: 9,324; sh: 2,180; lex: 484; yacc: 362; makefile: 309
file content (26 lines) | stat: -rw-r--r-- 480 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
24
25
26
# $Id: Makefile,v 1.1 1997/09/10 22:22:36 rth Exp $

include ../Makeconfig

#----------------------------------------------------------------------

all: libutil.a

OBJS = sys_cm.o sys_dm.o sys_gks.o sys_nim.o sys_oim.o sys_qm.o \
	xmalloc.o xrealloc.o xstrdup.o

libutil.a: $(OBJS)
	ar rv $@ $?
	$(RANLIB) $@

realclean clean:
	rm -f *.o *.a .depend

install-bin: all

dep depend:
	gcc -M $(CFLAGS) $(DEFS) *.c > .depend

ifeq (.depend,$(wildcard .depend))
include .depend
endif