mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] fix concurrent make, fixes #43
This commit is contained in:
parent
2af522aea7
commit
d765674913
@ -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 New Issue
Block a user