summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a564b1d..05fd4ef 100644
--- a/Makefile
+++ b/Makefile
@@ -56,11 +56,11 @@ ifdef WIN32
LIBIRECOVERY_SHARED_LIBS = $(LIBS)
endif
-LIBIRECOVERY_OBJECTS = libirecovery.o
-IRECOVERY_OBJECTS = irecovery.o libirecovery.a
+LIBIRECOVERY_OBJECTS = src/libirecovery.o
+IRECOVERY_OBJECTS = src/irecovery.o libirecovery.a
TARGETS = $(LIBIRECOVERY_SHARED_TARGET) $(LIBIRECOVERY_STATIC_TARGET) $(IRECOVERY_TARGET)
-OBJECTS = libirecovery.o irecovery.o
+OBJECTS = src/libirecovery.o src/irecovery.o
all: $(TARGETS)
@@ -80,5 +80,5 @@ $(IRECOVERY_TARGET): $(IRECOVERY_OBJECTS)
$(CC) -o $@ $^ $(IRECOVERY_LDFLAGS) $(IRECOVERY_LIBS)
clean:
- $(RM) $(LIBIRECOVERY_STATIC_TARGET) $(LIBIRECOVERY_SHARED_TARGET) $(IRECOVERY_TARGET) *.o
+ $(RM) $(LIBIRECOVERY_STATIC_TARGET) $(LIBIRECOVERY_SHARED_TARGET) $(IRECOVERY_TARGET) src/*.o