aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8ea3c17..baaa49a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,15 @@ HEADERS=dabplussnoop.h lib_crc.h firecode.h faad_decoder.h wavfile.h
all: etisnoop
+etisnoop: $(SOURCES) $(HEADERS)
+ $(CC) -Wall -ggdb $(SOURCES) $(HEADERS) -lfaad -o etisnoop
+
+etisnoop-static: libfaad $(SOURCES) $(HEADERS)
+ $(CC) -Wall -ggdb $(SOURCES) $(HEADERS) faad2-2.7/libfaad/.libs/libfaad.a -o etisnoop
+
libfaad:
make -C ./faad2-2.7
-etisnoop: libfaad $(SOURCES) $(HEADERS)
- $(CC) -Wall -ggdb $(SOURCES) $(HEADERS) faad2-2.7/libfaad/.libs/libfaad.a -o etisnoop
clean:
rm -f etisnoop *.o