mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
fix linking error on ubuntu
This commit is contained in:
2
Makefile
2
Makefile
@@ -45,7 +45,7 @@ DEPS = $(wildcard src/*.h) Makefile
|
|||||||
all: obj results $(EXEC)
|
all: obj results $(EXEC)
|
||||||
|
|
||||||
$(EXEC): $(OBJS)
|
$(EXEC): $(OBJS)
|
||||||
$(CC) $(COMMON) $(CFLAGS) $(LDFLAGS) $^ -o $@
|
$(CC) $(COMMON) $(CFLAGS) $^ -o $@ $(LDFLAGS)
|
||||||
|
|
||||||
$(OBJDIR)%.o: %.c $(DEPS)
|
$(OBJDIR)%.o: %.c $(DEPS)
|
||||||
$(CC) $(COMMON) $(CFLAGS) -c $< -o $@
|
$(CC) $(COMMON) $(CFLAGS) -c $< -o $@
|
||||||
|
|||||||
Reference in New Issue
Block a user