mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
nsplitd.c, Makefile: mvdir Makefile: Rename: BitKeeper/deleted/.del-Makefile~9f548ce6ff509eac -> tools/nsplitd/Makefile nsplitd.c: Rename: BitKeeper/deleted/.del-nsplitd.c~8b67653f8e377176 -> tools/nsplitd/nsplitd.c
23 lines
317 B
Makefile
23 lines
317 B
Makefile
|
|
CC = gcc
|
|
CFLAGS = -Wall -O3
|
|
CFILES = $(wildcard *.c)
|
|
|
|
HDRS = $(wildcard *.h)
|
|
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
|
|
|
|
TARGET = nsplitd
|
|
|
|
all: $(TARGET)
|
|
|
|
install: all
|
|
|
|
clean:
|
|
$(RM) *.o $(TARGET) *~
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
%.o: %.c $(HDRS) Makefile
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|