Makefile 420 Bytes
Newer Older
Per Cederqvist's avatar
Per Cederqvist committed
1
include Topdir.make
Per Cederqvist's avatar
.    
Per Cederqvist committed
2
3
4
5
SCRIPTDIR = $(TOPDIR)/scripts

include $(SCRIPTDIR)/import.make

6
TARGET = -DCLIENT
Per Cederqvist's avatar
.    
Per Cederqvist committed
7
8
9

INSTALL-HDRS = smalloc.h

10
all: includes libraries binaries
Per Cederqvist's avatar
.    
Per Cederqvist committed
11

12
13
libraries:;
binaries:;
Per Cederqvist's avatar
.    
Per Cederqvist committed
14

15
.PHONY : includes
Per Cederqvist's avatar
Per Cederqvist committed
16
includes:
Per Cederqvist's avatar
.    
Per Cederqvist committed
17
	-mkdir $(INCLUDEDIR)/server
18
19
	for i in $(INSTALL-HDRS);\
	do	\
20
		( cmp $$i $(INCLUDEDIR)/server/$$i 2>/dev/null ) \
21
22
		|| cp $$i $(INCLUDEDIR)/server/$$i; \
	done
Per Cederqvist's avatar
.    
Per Cederqvist committed
23
24

clean:
25
	$(RM) $(GENERIC-CLEAN)
Per Cederqvist's avatar
.    
Per Cederqvist committed
26

27
depend:;