mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
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…
x
Reference in New Issue
Block a user