mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
20
support/rust-task_info/makefile.cargo
Normal file
20
support/rust-task_info/makefile.cargo
Normal file
|
@ -0,0 +1,20 @@
|
|||
CC ?= gcc
|
||||
AR ?= ar
|
||||
CFLAGS += -Wall
|
||||
|
||||
.PHONY: all
|
||||
ifeq (darwin,$(findstring darwin,$(TARGET)))
|
||||
|
||||
all: $(OUT_DIR)/libtask_info.a
|
||||
|
||||
$(OUT_DIR)/libtask_info.a: $(OUT_DIR)/task_info.o
|
||||
$(AR) rcs $@ $^
|
||||
|
||||
$(OUT_DIR)/task_info.o: src/task_info.c
|
||||
$(CC) $(CFLAGS) $< -o $@ -c
|
||||
|
||||
else
|
||||
|
||||
all:
|
||||
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue