diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -80,6 +80,8 @@ IRECOVERY_OBJECTS = irecovery.o libirecovery.a TARGETS = $(LIBIRECOVERY_STATIC_TARGET) $(IRECOVERY_TARGET) OBJECTS = libirecovery.o irecovery.o +all: $(TARGETS) + %.o: %.S $(CC) -c $(<) -o $(@) $(CFLAGS) @@ -92,10 +94,7 @@ $(LIBIRECOVERY_STATIC_TARGET): $(LIBIRECOVERY_STATIC_OBJECTS) $(LIBIRECOVERY_SHARED_TARGET): $(LIBIRECOVERY_SHARED_OBJECTS) $(IRECOVERY_TARGET): $(IRECOVERY_OBJECTS) - $(CC) -o $(IRECOVERY_TARGET) $(IRECOVERY_OBJECTS) $(IRECOVERY_CFLAGS) $(IRECOVERY_LDFLAGS) $(IRECOVERY_LIBS) - -all: $(TARGETS) - + $(CC) -o $(IRECOVERY_TARGET) $(IRECOVERY_OBJECTS) $(IRECOVERY_CFLAGS) $(IRECOVERY_LDFLAGS) $(IRECOVERY_LIBS) clean: $(RM) $(LIBIRECOVERY_STATIC_TARGET) $(IRECOVERY_TARGET) *.o |