mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 21:17:54 +00:00
[client] fix concurrent make, fixes #43
This commit is contained in:
parent
2af522aea7
commit
d765674913
1 changed files with 5 additions and 3 deletions
|
@ -28,15 +28,17 @@ BUILD_OBJS = $(foreach obj,$(OBJS),$(BUILD)/$(obj))
|
|||
|
||||
all: $(BIN)/$(BINARY) $(BIN)/xlib-shim.so
|
||||
|
||||
$(BIN)/xlib-shim.so:
|
||||
$(BIN):
|
||||
@mkdir -p $@
|
||||
|
||||
$(BIN)/xlib-shim.so: $(BIN)
|
||||
$(CC) -fPIC $(CFLAGS) -shared -o $@ xlib-shim.c
|
||||
|
||||
$(BUILD)/%.o: %.c
|
||||
@mkdir -p $(dir $@)
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
$(BIN)/$(BINARY): $(BUILD_OBJS)
|
||||
@mkdir -p $(dir $@)
|
||||
$(BIN)/$(BINARY): $(BIN) $(BUILD_OBJS)
|
||||
$(CC) -o $@ $(BUILD_OBJS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
|
|
Loading…
Reference in a new issue