mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.723 (402c9d32Wi_CDhKbGEWsHmH2qb2VfQ)
fix makefile for nsplitd
This commit is contained in:
1 parent
d902a45ebe
commit
933dcf13e1
2 files changed
+17
-2
No files matched your search
@@ -40,4 +40,5 @@ clean:
|
||||
$(MAKE) -C xc clean
|
||||
$(MAKE) -C misc clean
|
||||
$(MAKE) -C examples clean
|
||||
$(MAKE) -C nsplitd clean
|
||||
|
||||
+16
-2
@@ -1,11 +1,25 @@
|
||||
ROOT = ..
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -g -O3
|
||||
CFILES = $(wildcard *.c)
|
||||
|
||||
HDRS = $(wildcard *.h)
|
||||
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
|
||||
|
||||
INSTALL_BINS := nsplitd
|
||||
|
||||
include $(ROOT)/mk/rules.mk
|
||||
all: nsplitd
|
||||
|
||||
nsplitd: $(OBJS)
|
||||
$(CC) $(CFLAGS) -o nsplitd $(OBJS)
|
||||
|
||||
install: all
|
||||
|
||||
dist: all
|
||||
|
||||
clean:
|
||||
$(RM) *.o $(INSTALL_BINS)
|
||||
|
||||
|
||||
%.o: %.c $(HDRS) Makefile
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||