mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 10:11:53 +00:00
13 lines
296 B
Makefile
13 lines
296 B
Makefile
|
src := flock.c hypervisor.c
|
||
|
obj := $(src-o-files)
|
||
|
|
||
|
flock=$(exedir)/flock-sim
|
||
|
|
||
|
$(flock): $(obj)
|
||
|
$(flock): $(common-lib)
|
||
|
$(flock): LIBS += $(COMMON_LIBS)
|
||
|
|
||
|
$(flock):
|
||
|
$(E)echo LD $(LDFLAGS) -o $@ $^ $(LIBS)
|
||
|
$(Q)$(CC) $(LDFLAGS) -o $@ $(patsubst $(common-lib),$(shell cat $(common-lib)),$^) $(LIBS)
|