diff options
author | Nikias Bassen | 2012-07-05 02:49:38 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-05 02:49:38 +0200 |
commit | 9a28eef7627b682def960a8ce4d4c19a6222a344 (patch) | |
tree | 9041e11b08d2966e54bb1cee41394382c555510c /Makefile | |
parent | 12330b0dfe05df6a288e3d9e13588551bff5c6a0 (diff) | |
download | libirecovery-9a28eef7627b682def960a8ce4d4c19a6222a344.tar.gz libirecovery-9a28eef7627b682def960a8ce4d4c19a6222a344.tar.bz2 |
Makefile: move 'all' target to the top
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 |