File: Makefile.common.lib.in

package info (click to toggle)
asmem 1.9-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 308 kB
  • ctags: 135
  • sloc: ansic: 1,416; sh: 183; makefile: 51
file content (39 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (25)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# Copyright (c) 1998, Guylhem AZNAR <guylhem@oeil.qc.ca>
#

@MAKEFILEDEFINES@

all:            $(PROG)

install:	
		# do nothing

install.man:
		# do nothing

uninstall:
		# do nothing

clean:
		$(RMF) $(PROG) *.o *~ *% *.bak \#* core

distclean:
		$(RMF) $(PROG) config.cache config.log config.status Makefile.bak Makefile config.h configure.h *.o *~ *% *.bak \#* core

indent:
		SRCS=`echo "$(OBJS) " | sed "s/.o /.c /g"`; \
		for i in $$SRCS; do \
		  if (indent < $$i > /tmp/$$i); then \
		    mv /tmp/$$i $$i; \
		  fi; \
		done

$(PROG):	$(OBJS)
		$(RMF) $(PROG)
		$(AR) $(PROG) $(OBJS)
		$(RANLIB) $(PROG)

.c.o:
		$(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c