forked from mirrors/kore
Don't link object files if not needed
This commit is contained in:
parent
a572a9eeae
commit
3633270de3
6
Makefile
6
Makefile
|
@ -58,9 +58,11 @@ else
|
|||
S_SRC+=src/bsd.c
|
||||
endif
|
||||
|
||||
all: $(S_OBJS)
|
||||
$(KORE): $(S_OBJS)
|
||||
$(CC) $(S_OBJS) $(LDFLAGS) -o $(KORE)
|
||||
|
||||
all: $(KORE)
|
||||
|
||||
install:
|
||||
mkdir -p $(INCLUDE_DIR)
|
||||
mkdir -p $(INSTALL_DIR)
|
||||
|
@ -78,4 +80,4 @@ clean:
|
|||
find . -type f -name \*.o -exec rm {} \;
|
||||
rm -f $(KORE)
|
||||
|
||||
.PHONY: clean
|
||||
.PHONY: all clean
|
||||
|
|
Loading…
Reference in New Issue