Statistics
| Branch: | Tag: | Revision:

root / xseg / sys / user / xhash / Makefile @ 47a7979c

History | View | Annotate | Download (481 Bytes)

1
.PHONY: default all clean
2

    
3
include $(XSEG_HOME)/base.mk
4

    
5
DEBUG=-g
6

    
7
default: all
8

    
9
all: xhash.o xhash.pic.o 
10

    
11
$(BASE)/sys/user/xseg_user.o:
12
	make -C $(BASE)/sys/user xseg_user.o
13

    
14
xhash.o: $(BASE)/xtypes/xhash.c $(BASE)/xtypes/xhash.h $(BASE)/xtypes/xlock.h
15
	$(CC) $(CFLAGS) $(INC) -DVAL_OVERLOAD -c -o $@ $<
16

    
17
xhash.pic.o: $(BASE)/xtypes/xhash.c $(BASE)/xtypes/xhash.h $(BASE)/xtypes/xlock.h
18
	$(CC) $(CFLAGS) $(INC) -DVAL_OVERLOAD -fPIC -c -o $@ $<
19

    
20
clean:
21
	rm -f xhash.o xhash.pic.o