mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-01 19:42:31 +00:00
Fix race condition in Makefile
This commit is contained in:
parent
c8e0785cb6
commit
addb192d8f
4
Makefile
4
Makefile
@ -141,9 +141,11 @@ all: $(LIBRARY) $(ARCHIVE) $(PKGCFGF)
|
||||
$(MAKE) -C tests
|
||||
$(INSTALL_DATA) lib$(LIBNAME).$(EXT) tests
|
||||
|
||||
$(LIBRARY): diet $(LIBOBJ)
|
||||
$(LIBRARY): $(LIBOBJ)
|
||||
$(CC) $(LDFLAGS) $(LIBOBJ) -o $(LIBRARY)
|
||||
|
||||
$(LIBOBJ): diet
|
||||
|
||||
# generate include/diet.h
|
||||
diet:
|
||||
@echo "#ifndef CAPSTONE_DIET_H" > include/diet.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user